akcjaod 4.9.6
user_request_action_confirmed
Opis — z kodu źródłowego
Fires an action hook when the account action has been confirmed by the user.
Using this you can assume the user has agreed to perform the action by clicking on the link in the confirmation email. After firing this action hook the page will redirect to wp-login a callback redirects or exits first.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$request_id | int | Request ID. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_action( 'user_request_action_confirmed', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_action( 'user_request_action_confirmed', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii