pingback_ping_source_uri filter-hook . WP 3.6.0
Filters the pingback source URI.
Usage
add_filter( 'pingback_ping_source_uri', 'filter_function_name_5515', 10, 2 ); function filter_function_name_5515( $pagelinkedfrom, $pagelinkedto ){ // filter... return $pagelinkedfrom; }
- $pagelinkedfrom(string)
- URI of the page linked from.
- $pagelinkedto(string)
- URI of the page linked to.
Changelog
Since 3.6.0 | Introduced. |
Where the hook is called
wp-includes/class-wp-xmlrpc-server.php 6802
$pagelinkedfrom = apply_filters( 'pingback_ping_source_uri', $pagelinkedfrom, $pagelinkedto );
Where in WP core the hook is used WordPress
wp-includes/class-wp-xmlrpc-server.php 262
add_filter( 'pingback_ping_source_uri', 'pingback_ping_source_uri' );