apply_filters ( ‘show_password_fields’, bool $show , WP_User $profile_user )

Filters the display of the password fields.

Parameters

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

Source

$show_password_fields = apply_filters( 'show_password_fields', true, $profile_user );

Changuelog

Versionen Description
4.4.0 Now evaluated only in user-edit.php.
2.8.0 Added the $profile_user parameter.
1.5.1 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.