WP HOOKS
filtrod 5.2.0

users_have_additional_content

Args 2Plik wp-admin/users.phpDokumentacja WP ↗

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

ParametrTypOpis
$users_have_additional_contentboolWhether the users have additional content. Default false.
$user_idsint[]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
}

Popularne w tej kategorii