filtrod 6.0.0
the_author_link
Opis — z kodu źródłowego
Filters the author URL link HTML.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$link | string | The default rendered author HTML link. |
$author_url | string | Author's URL. |
$authordata | \WP_User | Author user data. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'the_author_link', 'twoja_funkcja', 10, 3 );
function twoja_funkcja($param_1, $param_2, $param_3) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'the_author_link', 'twoja_funkcja', 10, 3 );
function twoja_funkcja($param_1, $param_2, $param_3) {
// Twój kod
}Popularne w tej kategorii