wppaste
WordPress

do_action( 'admin_enqueue_scripts', string $hook_suffix )

Since
2.8.0
Fires when enqueuing scripts for all admin pages.

Parameters

$hook_suffixstring
The current admin page.

Fired at · 4

  • wp-admin/admin-header.php:118file scope
  • wp-admin/includes/media.php:560wp_iframe()
  • wp-admin/includes/template.php:2157iframe_header()
  • wp-includes/class-wp-customize-widgets.php:706WP_Customize_Widgets::enqueue_scripts()

Source

 * Fires when enqueuing scripts for all admin pages. * * @since 2.8.0 * * @param string $hook_suffix The current admin page. */do_action( 'admin_enqueue_scripts', $hook_suffix ); /** * Fires when styles are printed for a specific admin page based on $hook_suffix. * * @since 2.6.0 */

History

Introduced in 2.8.0. Unchanged from 6.7.7 through 7.1.0.

  1. 6.7.7
  2. 6.8.8
  3. 6.9.7
  4. 7.0.4
  5. 7.1.0

Signature, return type and hooks compared across 5 parsed releases.

About this page

Parsed data
Generated from the wordpress-develop 6.7.7 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.