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

Filters the display of the password fields.

Parameters Parameters


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


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

Top ↑

Source Source

File: wp-admin/user-edit.php

View on Trac

Top ↑

Changelog Changelog

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

Top ↑

User Contributed Notes User Contributed Notes

Top ↑

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