WordPress at a glance
filter is not described

show_password_fields filter-hook . WP 1.5.1

Filters the display of the password fields.


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

	return $show;
Whether to show the password fields.
Default: true
User object for the current user to edit.


  • 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
wp-admin/user-edit.php 605
if ( $show_password_fields = apply_filters( 'show_password_fields', true, $profileuser ) ) :

Where the hook is used (in WP core)

Использование не найдено.