jetpack_sync_woocommerce_product_deleted, $post_id

jetpack_sync_woocommerce_product_deleted, $post_id

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: jetpack.16.0.1

do_action('jetpack_sync_woocommerce_product_deleted, $post_id') is found 1 times:

  • /jetpack_vendor/automattic/jetpack-sync/src/modules/class-woocommerce-products.php line 156
    			 * Fires when a WooCommerce product is deleted via wp_delete_post.
    			 *
    			 * @param int $post_id The product ID being deleted.
    			 */
    			do_action( 'jetpack_sync_woocommerce_product_deleted', $post_id );
    		}
    	}
    
    	/**
    	 * Handle wp_trash_post action and trigger custom product trashed sync for WooCommerce products.
    	 *