Automattic\WooCommerce\Blocks

Migration::wc_blocks_update_710_blockified_product_grid_block()public staticWC 1.0

Set a flag to indicate if the blockified Product Grid Block should be rendered by default.

{} Это метод класса: Migration{}

Хуков нет.

Возвращает

null. Ничего.

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

$result = Migration::wc_blocks_update_710_blockified_product_grid_block();

Код Migration::wc_blocks_update_710_blockified_product_grid_block() WC 6.9.1

public static function wc_blocks_update_710_blockified_product_grid_block() {
	update_option( Options::WC_BLOCK_USE_BLOCKIFIED_PRODUCT_GRID_BLOCK_AS_TEMPLATE, wc_bool_to_string( false ) );
}