bsf_clear_versions_cache( string $product_id )
Clear versions form trasinent.
Description
Parameters
- $product_id
-
(string) (Required) Product ID.
Source
File: admin/bsf-core/includes/helpers.php
function bsf_clear_versions_cache( $product_id ) { if ( false !== get_transient( 'bsf-product-versions-' . $product_id ) ) { delete_transient( 'bsf-product-versions-' . $product_id ); } }
Expand full source code Collapse full source code View on Trac