additional_capabilities_display

additional_capabilities_display

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

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('additional_capabilities_display') is found 1 times:

  • /wp-admin/user-edit.php line 908
    					 *
    					 * @param bool    $enable      Whether to display the capabilities. Default true.
    					 * @param WP_User $profile_user The current WP_User object.
    					 */
    					$display_additional_caps = apply_filters( 'additional_capabilities_display', true, $profile_user );
    					?>
    
    				<?php if ( count( $profile_user->caps ) > count( $profile_user->roles ) && ( true === $display_additional_caps ) ) : ?>
    					<h2><?php _e( 'Additional Capabilities' ); ?></h2>
    
    					<table class="form-table" role="presentation">