admin_print_styles-$hook_suffix

admin_print_styles-$hook_suffix

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7.1

do_action('admin_print_styles-$hook_suffix') is found 2 times:

  • /wp-admin/admin-header.php line 125
     * Fires when styles are printed for a specific admin page based on $hook_suffix.
     *
     * @since 2.6.0
     */
    do_action( "admin_print_styles-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
    
    /**
     * Fires when styles are printed for all admin pages.
     *
     * @since 2.6.0
     */
    
  • /wp-admin/includes/template.php line 2160
    	/** This action is documented in wp-admin/admin-header.php */
    	do_action( 'admin_enqueue_scripts', $hook_suffix );
    
    	/** This action is documented in wp-admin/admin-header.php */
    	do_action( "admin_print_styles-{$hook_suffix}" );  // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
    
    	/** This action is documented in wp-admin/admin-header.php */
    	do_action( 'admin_print_styles' );
    
    	/** This action is documented in wp-admin/admin-header.php */
    	do_action( "admin_print_scripts-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores