filtrod 3.2.0
is_multi_author
Opis — z kodu źródłowego
Filters whether the site has more than one author with published posts.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$is_multi_author | bool | Whether $is_multi_author should evaluate as true. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'is_multi_author', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_filter( 'is_multi_author', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii