woocommerce_trash_(post_type) action-hook . WC 1.0
Usage
add_action( 'woocommerce_trash_(post_type)', 'action_function_name_1569' ); function action_function_name_1569( $id ){ // action... }
- $id
- -
Where the hook is called
woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php 307
do_action( 'woocommerce_trash_' . $post_type, $id );