akcjaod 2.0.0
profile_personal_options
Opis — z kodu źródłowego
Fires after the 'Personal Options' settings table on the 'Profile' editing screen.
The action only fires if the current user is editing their own profile.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$profile_user | \WP_User | The current WP_User object. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_action( 'profile_personal_options', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_action( 'profile_personal_options', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii