WP HOOKS
akcjaod MU (3.0.0)

remove_user_from_blog

Args 3Plik wp-includes/ms-functions.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Fires before a user is removed from a site.

Parametry

ParametrTypOpis
$user_idintID of the user being removed.
$blog_idintID of the blog the user is being removed from.
$reassignintID of the user to whom to reassign posts.

Wywołanie

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

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