Automattic\WooCommerce\Blocks\BlockTypes
BlockifiedProductDetails::render
Render the block.
Method of the class: BlockifiedProductDetails{}
No Hooks.
Returns
String
. Rendered block 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.
BlockifiedProductDetails::render() BlockifiedProductDetails::render code WC 9.9.4
protected function render( $attributes, $content, $block ) { return $this->hide_empty_accordion_items( $content, $block ); }