filtrod 5.2.0
users_have_additional_content
Opis — z kodu źródłowego
Filters whether the users being deleted have additional content associated with them outside of the `post_author` and `link_owner` relationships.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$users_have_additional_content | bool | Whether the users have additional content. Default false. |
$user_ids | int[] | Array of IDs for users being deleted. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'users_have_additional_content', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'users_have_additional_content', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}Popularne w tej kategorii