Automattic\WooCommerce\EmailEditor\Integrations\Core\Renderer\Blocks

Table::has_fixed_layoutprivateWC 1.0

Check if table has fixed layout class.

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

Хуков нет.

Возвращает

bool. True if has-fixed-layout class is present.

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

// private - только в коде основоного (родительского) класса
$result = $this->has_fixed_layout( $class_attr ): bool;
$class_attr(строка) (обязательный)
Class attribute string.

Код Table::has_fixed_layout() WC 11.1.1

private function has_fixed_layout( string $class_attr ): bool {
	return false !== strpos( $class_attr, 'has-fixed-layout' );
}