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

do_action('admin_enqueue_scripts') is found 4 times:

  • /wp-admin/admin-header.php line 118
     * @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 2156

    isRtl = ;

  • /wp-includes/class-wp-customize-widgets.php line 706
    		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