pingback_ping_source_uri

pingback_ping_source_uri

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('pingback_ping_source_uri') is found 1 times:

  • /wp-includes/class-wp-xmlrpc-server.php line 6869
    		 *
    		 * @param string $pagelinkedfrom URI of the page linked from.
    		 * @param string $pagelinkedto   URI of the page linked to.
    		 */
    		$pagelinkedfrom = apply_filters( 'pingback_ping_source_uri', $pagelinkedfrom, $pagelinkedto );
    
    		if ( ! $pagelinkedfrom ) {
    			return $this->pingback_error( 0, __( 'A valid URL was not provided.' ) );
    		}
    
    		// Check if the page linked to is on our site.