wppaste
WordPress

do_action( 'admin_print_scripts' )

Since
2.1.0
Fires when scripts are printed for all admin pages.

Fired at · 4

  • wp-admin/admin-header.php:151file scope
  • wp-admin/includes/media.php:597wp_iframe()
  • wp-admin/includes/template.php:2171iframe_header()
  • wp-includes/class-wp-customize-widgets.php:688WP_Customize_Widgets::print_scripts()

Source

 /** * Fires when scripts are printed for all admin pages. * * @since 2.1.0 */do_action( 'admin_print_scripts' ); /** * Fires in head section for a specific admin page. * * The dynamic portion of the hook name, `$hook_suffix`, refers to the hook suffix * for the admin page.

History

Introduced in 2.1.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 7.0.4 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.