filtrod 4.9.6
the_privacy_policy_link
Opis — z kodu źródłowego
Filters the privacy policy link.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$link | string | The privacy policy link. Empty string if it doesn't exist. |
$privacy_policy_url | string | The 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
}
// 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