WP HOOKS
filtrod 4.9.6

the_privacy_policy_link

Args 2Plik wp-includes/link-template.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Filters the privacy policy link.

Parametry

ParametrTypOpis
$linkstringThe privacy policy link. Empty string if it doesn't exist.
$privacy_policy_urlstringThe URL of the privacy policy. Empty string if it doesn't exist.

Wywołanie

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

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

Popularne w tej kategorii