akcjaod 2.0.0
show_user_profile
Opis — z kodu źródłowego
Fires after the 'Application Passwords' section is loaded 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( 'show_user_profile', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_action( 'show_user_profile', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii