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.


Top ↑

Parameters

$urls_to_ping

(string)Sanitized space or carriage return separated URLs.

$to_ping

(string)Space or carriage return separated URLs before sanitization.


Top ↑

Source

File: wp-includes/formatting.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.4.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More