enqueue_block_editor_assets

enqueue_block_editor_assets

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

See hook in core

Displaying hooks found in version: wordpress-6.5.2

do_action('enqueue_block_editor_assets') is found 4 times:

  • /wp-admin/edit-form-blocks.php line 272
     * `wp_enqueue_style` to add your functionality to the block editor.
     *
     * @since 5.0.0
     */
    do_action( 'enqueue_block_editor_assets' );
    
    // In order to duplicate classic meta box behavior, we need to run the classic meta box actions.
    require_once ABSPATH . 'wp-admin/includes/meta-boxes.php';
    register_and_do_post_meta_boxes( $post );
    
    // Check if the Custom Fields meta box has been removed at some point.
    
  • /wp-admin/site-editor.php line 157
    	wp_enqueue_style( 'wp-block-library-theme' );
    }
    
    /** This action is documented in wp-admin/edit-form-blocks.php */
    do_action( 'enqueue_block_editor_assets' );
    
    require_once ABSPATH . 'wp-admin/admin-header.php';
    ?>
    
    <div class="edit-site" id="site-editor">
    	<?php // JavaScript is disabled. ?>
    
  • /wp-admin/widgets-form-blocks.php line 65
    wp_enqueue_script( 'admin-widgets' );
    wp_enqueue_style( 'wp-edit-widgets' );
    
    /** This action is documented in wp-admin/edit-form-blocks.php */
    do_action( 'enqueue_block_editor_assets' );
    
    /** This action is documented in wp-admin/widgets-form.php */
    do_action( 'sidebar_admin_setup' );
    
    require_once ABSPATH . 'wp-admin/admin-header.php';
    
    
  • /wp-includes/class-wp-customize-widgets.php line 879
    			wp_enqueue_script( 'wp-customize-widgets' );
    			wp_enqueue_style( 'wp-customize-widgets' );
    
    			/** This action is documented in edit-form-blocks.php */
    			do_action( 'enqueue_block_editor_assets' );
    		}
    	}
    
    	/**
    	 * Renders the widget form control templates into the DOM.
    	 *
    

See this hook used in plugins: