AbstractBlock::get_block_type_render_callback()

Get the render callback for this block type.


Description Description

Dynamic blocks should return a callback, for example, return [ $this, 'render' ];

See also See also


Top ↑

Return Return

(callable|AutomatticWooCommerceBlocksBlockTypesnull;)


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.