Filter hook 'show_password_fields'

in WP Core File wp-admin/user-edit.php at line 658

Description

Filters the display of the password fields.

Occurrences

Filename Line Number
wp-admin/user-edit.php 658

Parameters

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.

PHP Doc

/**
					 * 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.
					 */