Filters the display of the password fields.
$showbool$profile_userWP_Userwp-admin/user-edit.php:691file scope * @since 2.8.0 Added the `$profile_user` parameter. * @since 4.4.0 Now evaluated only in user-edit.php. * * @param bool $show Whether to show the password fields. Default true. * @param WP_User $profile_user User object for the current user to edit. */ $show_password_fields = apply_filters( 'show_password_fields', true, $profile_user ); ?> <?php if ( $show_password_fields ) : ?> </table> <h2><?php _e( 'Account Management' ); ?></h2> Introduced in 1.5.1. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.