Automattic\WooCommerce\Blocks

Migration::wc_blocks_update_1030_blockified_product_grid_block()public staticWC 1.0

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

Method of the class: Migration{}

No Hooks.

Return

null. Nothing (null).

Usage

$result = Migration::wc_blocks_update_1030_blockified_product_grid_block();

Migration::wc_blocks_update_1030_blockified_product_grid_block() code WC 8.9.0

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