AbstractBlock::enqueue_data( array $attributes = array() )

Data passed through from server to client for block.


Description Description


Parameters Parameters

$attributes

(Optional) Any attributes that currently are available from the block. Note, this will be empty in the editor context when the block is not in the post content on editor load.

Default value: array()


Top ↑

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.