Home/Hooks/add_ping
FILTER

add_ping

Filters the new ping URL to add for the given post.

wp-includes/post.php
Line 5877
1 Parameter
View Source

Usage

add_filter( 'add_ping', 'your_callback_function', 10, 1 );

Filter Callback:

function your_callback_function( $new ) {
    // Your code here
    return $new;
}

Parameters

$new

Parameter 1

🔄 Filter Hook

Filter hooks allow you to modify data before it is saved to the database or displayed on the screen. Filters must return a value.