filtrod 6.0.0
wp_is_large_user_count
Opis — z kodu źródłowego
Filters whether the site is considered large, based on its number of users.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$is_large_user_count | bool | Whether the site has a large number of users. |
$count | int | The total number of users. |
$network_id | int | null | ID 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
}
// 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