Automattic\WooCommerce\Blocks\BlockTypes
BlockifiedProductDetails::render
Render the block.
Метод класса: BlockifiedProductDetails{}
Хуков нет.
Возвращает
Строку
. Rendered block output.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->render( $attributes, $content, $block );
- $attributes(массив) (обязательный)
- Block attributes.
- $content(строка) (обязательный)
- Block content.
- $block(WP_Block) (обязательный)
- Block instance.
Код BlockifiedProductDetails::render() BlockifiedProductDetails::render WC 9.9.4
protected function render( $attributes, $content, $block ) { return $this->hide_empty_accordion_items( $content, $block ); }