Automattic\WooCommerce\Blocks\Templates

AbstractTemplateCompatibility::inject_hooks()publicWC 1.0

Inject hooks to rendered content of corresponding blocks.

Method of the class: AbstractTemplateCompatibility{}

No Hooks.

Return

String.

Usage

$AbstractTemplateCompatibility = new AbstractTemplateCompatibility();
$AbstractTemplateCompatibility->inject_hooks( $block_content, $block );
$block_content(mixed) (required)
The rendered block content.
$block(mixed) (required)
The parsed block data.

AbstractTemplateCompatibility::inject_hooks() code WC 9.0.1

abstract public function inject_hooks( $block_content, $block );