pingback_ping_source_uri

Default filter attached to pingback_ping_source_uri to validate the pingback's Source URI.

Description

(string) pingback_ping_source_uri( (string) $source_uri ); 

Returns (string)

Parameters (1)

0. $source_uri (string)
The source uri.

Usage

  1. if ( !function_exists( 'pingback_ping_source_uri' ) ) { 
  2. require_once ABSPATH . WPINC . '/comment.php'; 
  3.  
  4. // The source uri. 
  5. $source_uri = ''; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = pingback_ping_source_uri($source_uri); 
  9.  

Defined (1)

The function is defined in the following location(s).

/wp-includes/comment.php  
  1. function pingback_ping_source_uri( $source_uri ) { 
  2. return (string) wp_http_validate_url( $source_uri );