admin_enqueue_scripts

admin_enqueue_scripts

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

do_action('admin_enqueue_scripts') is found 4 times:

  • /wp-admin/admin-header.php line 118
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    * @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
     */
  • /wp-admin/includes/media.php line 560

    isRtl = ;

  • /wp-admin/includes/template.php line 2157

    isRtl = ;

  • /wp-includes/class-wp-customize-widgets.php line 706
    702
    703
    704
    705
    706
    707
    708
    709
    710
    711
    712
    wp_enqueue_style( 'customize-widgets' );
    wp_enqueue_script( 'customize-widgets' );
     
    /** This action is documented in wp-admin/admin-header.php */
    do_action( 'admin_enqueue_scripts', 'widgets.php' );
     
    /*
     * Export available widgets with control_tpl removed from model
     * since plugins need templates to be in the DOM.
     */
    $available_widgets = array();

See this hook used in plugins:

Examples using admin_enqueue_scripts