Automattic\WooCommerce\Blocks
BlockTypesController::delete_product_transients()
Delete product transients when a product is deleted.
Method of the class: BlockTypesController{}
No Hooks.
Return
null
. Nothing (null).
Usage
$BlockTypesController = new BlockTypesController(); $BlockTypesController->delete_product_transients();
BlockTypesController::delete_product_transients() BlockTypesController::delete product transients code WC 9.4.2
public function delete_product_transients() { delete_transient( 'wc_blocks_has_downloadable_product' ); }