show_password_fields

Advertisement

Summery Summery

Filters the display of the password fields.

Syntax Syntax

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

Parameters Parameters

$show

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

$profileuser

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

Source Source

File: wp-admin/user-edit.php

Advertisement

Changelog 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.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.