WP HOOKS
filtrod 3.4.0

sanitize_trackback_urls

Args 2Plik wp-includes/formatting.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Filters a list of trackback URLs following sanitization.

The string returned here consists of a space or carriage return-delimited list of trackback URLs.

Parametry

ParametrTypOpis
$urls_to_pingstringSanitized space or carriage return separated URLs.
$to_pingstringSpace or carriage return separated URLs before sanitization.

Wywołanie

Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'sanitize_trackback_urls', 'twoja_funkcja', 10, 2 );

function twoja_funkcja($param_1, $param_2) {
	// Twój kod
}

Popularne w tej kategorii