woocommerce_delete_product_transients action-hookWC 1.0

Increments the transient version to invalidate cache.

Usage

add_action( 'woocommerce_delete_product_transients', 'wp_kama_woocommerce_delete_product_transients_action' );

/**
 * Function for `woocommerce_delete_product_transients` action-hook.
 * 
 * @param  $post_id 
 *
 * @return void
 */
function wp_kama_woocommerce_delete_product_transients_action( $post_id ){

	// action...
}
$post_id
-

Where the hook is called

wc_delete_product_transients()
woocommerce_delete_product_transients
woocommerce/includes/wc-product-functions.php 153
do_action( 'woocommerce_delete_product_transients', $post_id );

Where the hook is used in WooCommerce

Usage not found.