sanitize_trackback_urls WordPress Filter Hook
The sanitize_trackback_urls Wordpress hook allows you to clean up trackback URLs before they are sent to the receiving server. This is useful if you want to ensure that only valid trackback URLs are sent, or if you want to change the format of the URLs before they are sent.
apply_filters( 'sanitize_trackback_urls', string $urls_to_ping , string $to_ping ) #
Filters a list of trackback URLs following sanitization.
Description
The string returned here consists of a space or carriage return-delimited list of trackback URLs.
Parameters
- $urls_to_ping
(string)Sanitized space or carriage return separated URLs.
- $to_ping
(string)Space or carriage return separated URLs before sanitization.
Source
Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |