woocommerce_deleted_order_items

woocommerce_deleted_order_items

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

do_action('woocommerce_deleted_order_items') is found 1 times:

  • /includes/class-wc-post-data.php line 496
    				WHERE {$wpdb->prefix}woocommerce_order_items.order_id = '{$postid}';
    				"
    			); // WPCS: unprepared SQL ok.
    
    			do_action( 'woocommerce_deleted_order_items', $postid );
    		}
    	}
    
    	/**
    	 * Remove downloadable permissions on permanent order deletion.
    	 *