WP HOOKS
filtrod 6.0.0

wp_is_large_user_count

Args 3Plik wp-includes/user.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Filters whether the site is considered large, based on its number of users.

Parametry

ParametrTypOpis
$is_large_user_countboolWhether the site has a large number of users.
$countintThe total number of users.
$network_idint | nullID of the network. <code>null</code> represents the current network.

Wywołanie

Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'wp_is_large_user_count', 'twoja_funkcja', 10, 3 );

function twoja_funkcja($param_1, $param_2, $param_3) {
	// Twój kod
}

Popularne w tej kategorii