filtrod 2.9.0
the_author
Opis — z kodu źródłowego
Filters the display name of the current post's author.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$display_name | string | The author's display name. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'the_author', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_filter( 'the_author', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii