filtrod 4.9.6
user_request_action_description
Opis — z kodu źródłowego
Filters the user action description.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$description | string | The default description. |
$action_name | string | The 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
}
// 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