On this page
pingback_ping_source_uri( string $source_uri ): string
Default filter attached to pingback_ping_source_uri to validate the pingback’s Source URI.
Description
See also
Parameters
$source_uristring Required
Return
string
Source
File: wp-includes/comment.php. View all references
function pingback_ping_source_uri( $source_uri ) {
return (string) wp_http_validate_url( $source_uri );
}
Related
Uses
| Uses | Description |
|---|---|
| wp_http_validate_url() wp-includes/http.php | Validate a URL for safe use in the HTTP API. |
Changelog
| Version | Description |
|---|---|
| 3.5.1 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/pingback_ping_source_uri