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.1

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

  • /wp-admin/admin-header.php line 139
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    * 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
    2162
    2163
    2164
    2165
    2166
    2167
    2168
    2169
    2170
    2171
    2172
    /** 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