show_password_fields

show_password_fields

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

See hook in core

Displaying hooks found in version: wordpress-6.6.2

apply_filters('show_password_fields') is found 1 times:

  • /wp-admin/user-edit.php line 658
    					 *
    					 * @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>