Automattic\WooCommerce\Blocks\BlockTypes
AbstractBlock::render()
Render the block. Extended by children.
Method of the class: AbstractBlock{}
No Hooks.
Return
String
. Rendered block type output.
Usage
// protected - for code of main (parent) or child class $result = $this->render( $attributes, $content, $block );
- $attributes(array) (required)
- Block attributes.
- $content(string) (required)
- Block content.
- $block(WP_Block) (required)
- Block instance.
AbstractBlock::render() AbstractBlock::render code WC 9.4.2
protected function render( $attributes, $content, $block ) { return $content; }