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

do_action('enqueue_block_editor_assets') is found 4 times:

  • /wp-admin/edit-form-blocks.php line 302
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    * `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 177
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
        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 83
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    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 897
    893
    894
    895
    896
    897
    898
    899
    900
    901
    902
    903
            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: