WP HOOKS
filtrod 4.9.6

user_request_action_description

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

Opis — z kodu źródłowego

Filters the user action description.

Parametry

ParametrTypOpis
$descriptionstringThe default description.
$action_namestringThe name of the request.

Wywołanie

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

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

Popularne w tej kategorii