WordPress at a glance
filter is not described

show_password_fields filter-hook . WP 1.5.1

Filters the display of the password fields.

Usage

add_filter( 'show_password_fields', 'filter_function_name_6048', 10, 2 );
function filter_function_name_6048( $show, $profileuser ){
	// filter...

	return $show;
}
$show(true/false)
Whether to show the password fields.
Default: true
$profileuser(WP_User)
User object for the current user to edit.

Notes

  • Since 2.8.0 Added the $profileuser parameter.
  • Since 4.4.0 Now evaluated only in user-edit.php.

Where the hook is called

In file: /wp-admin/user-edit.php
show_password_fields
wp-admin/user-edit.php 565
if ( $show_password_fields = apply_filters( 'show_password_fields', true, $profileuser ) ) :

Where the hook is used (in WP core)

Does not used.