Viewing 1 replies (of 1 total)
  • Hi AAcAN, we take an array of Order Status’s and pass that to WP_Query that returns a list of Order ID’s. Then we permanently delete each Order using wp_delete_post() with the Permanent Delete flag set. Step through the includes/functions.php file ??

Viewing 1 replies (of 1 total)
  • The topic ‘What function is used to delete orders?’ is closed to new replies.