show_password_fields

show_password_fields

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('show_password_fields') is found 1 times:

  • /wp-admin/user-edit.php line 664
    660
    661
    662
    663
    664
    665
    666
    667
    668
    669
    *
     * @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>