admin_print_scripts-$hook_suffix

admin_print_scripts-$hook_suffix

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

See hook in core

Displaying hooks found in version: wordpress-6.7

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

  • /wp-admin/admin-header.php line 139
     * Fires when scripts are printed for a specific admin page based on $hook_suffix.
     *
     * @since 2.1.0
     */
    do_action( "admin_print_scripts-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
    
    /**
     * Fires when scripts are printed for all admin pages.
     *
     * @since 2.1.0
     */
    
  • /wp-admin/includes/template.php line 2166
    	/** 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
    
    	/** This action is documented in wp-admin/admin-header.php */
    	do_action( 'admin_print_scripts' );
    
    	/** This action is documented in wp-admin/admin-header.php */
    	do_action( "admin_head-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores