filtrod 4.9.6
user_request_action_confirmed_message
Opis — z kodu źródłowego
Filters the message displayed to a user when they confirm a data request.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$message | string | The message to the user. |
$request_id | int | The ID of the request being confirmed. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'user_request_action_confirmed_message', '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_confirmed_message', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}Popularne w tej kategorii