WP HOOKS
filtrod 4.9.6

privacy_policy_url

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

Opis — z kodu źródłowego

Filters the URL of the privacy policy page.

Parametry

ParametrTypOpis
$urlstringThe URL to the privacy policy page. Empty string if it doesn't exist.
$policy_page_idintThe ID of privacy policy page.

Wywołanie

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

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

Popularne w tej kategorii