WP HOOKS
filtrod 3.2.0

is_multi_author

Args 1Plik wp-includes/author-template.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Filters whether the site has more than one author with published posts.

Parametry

ParametrTypOpis
$is_multi_authorboolWhether $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
}

Popularne w tej kategorii