WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Blocks\BlockTypes

AbstractBlock::get_block_type_render_callback() protected WC 1.0

Get the render callback for this block type.

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

{} It's a method of the class: AbstractBlock{}

No Hooks.

Return

callable|null;.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_block_type_render_callback();

Notes

Code of AbstractBlock::get_block_type_render_callback() WC 5.6.0

protected function get_block_type_render_callback() {
	return [ $this, 'render_callback' ];
}