AbstractBlock::render() – Render the block. Extended by children.

You appear to be a bot. Output may be restricted

Description

Render the block. Extended by children.

Usage

$string = AbstractBlock::render( $attributes, $content );

Parameters

$attributes
( array ) required – Block attributes.
$content
( string ) required – Block content.

Returns

string Rendered block type output.

Source

File name: woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php
Lines:

1 to 3 of 3
  protected function render( $attributes, $content ) {
    return $content;
  }
 

 View on GitHub View on Trac