Automattic\WooCommerce\Internal\EmailEditor\WCTransactionalEmails

WCEmailTemplateSelectiveApplier::is_structural_block │ private static │ WC 1.0

Whether the given post-alias-normalized block name is a structural wrapper (matches the same set RSM-142 uses for nest detection).

Метод класса: WCEmailTemplateSelectiveApplier{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$result = WCEmailTemplateSelectiveApplier::is_structural_block( $name ): bool;
$name(строка) (обязательный)
Normalized block name (e.g. core/group).

Код WCEmailTemplateSelectiveApplier::is_structural_block() WC 11.2.2

private static function is_structural_block( string $name ): bool {
	return in_array(
		$name,
		array( 'core/group', 'core/columns', 'core/column', 'core/row' ),
		true
	);
}