apply_filters( 'show_password_fields', bool $show, WP_User $profileuser )

Filters the display of the password fields.


Parameters

$show

(bool) Whether to show the password fields. Default true.

$profileuser

(WP_User) User object for the current user to edit.


Source

File: wp-admin/user-edit.php

View on GitHub


Changelog

Changelog
Version Description
WP-4.4.0 Now evaluated only in user-edit.php.
WP-2.8.0 Added the $profileuser parameter.
WP-1.5.1 Introduced.