AbstractBlock::enqueue_editor_assets()

Enqueue assets used for rendering the block in editor context.


Description Description

This is needed if a block is not yet within the post content–render and enqueue_assets may not have ran.


Source Source

File: packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php




Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.