akcjaod 2.0.0
personal_options_update
Opis — z kodu źródłowego
Fires before the page loads on the 'Profile' editing screen.
The action only fires if the current user is editing their own profile.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$user_id | int | The user ID. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_action( 'personal_options_update', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_action( 'personal_options_update', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii