Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function test12377() {
- $order_id = $_POST['order_id'];
- $order = wc_get_order( $order_id );
- $order->add_note( 'my note' );
- }
- add_action( 'wp_ajax_woocommerce_remove_order_item', 'test12377' );
- $order_id = $_POST['order_id'];
Add Comment
Please, Sign In to add comment