WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about show_password_fields

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-admin/user-edit.php apply_filters 626 /**
* Filters the display of the password fields.
*
* @since 1.5.1
* @since 2.8.0 Added the `$profile_user` parameter.
* @since 4.4.0 Now evaluated only in user-edit.php.
*
* @param bool $show Whether to show the password fields. Default true.
* @param WP_User $profile_user User object for the current user to edit.
*/

Hook Parameters

Parameter Type Name Description
bool $show Whether to show the password fields. Default true.
WP_User $profile_user User object for the current user to edit.