Recent

wzkb_block_render_callback filter

wzkb_block_render_callback

Registers the block using the metadata loaded from the block.json file. Behind the scenes, it registers also all assets so they can be enqueued through the block editor in the corresponding context.

Type: filter
Since: 2.3.0
Source: includes/blocks/class-blocks.php line 128

Usage

add_filter( 'wzkb_block_render_callback', function() {
    // ...
} );