Skip to content

Instantly share code, notes, and snippets.

@shameemreza
Created July 7, 2024 14:37
Show Gist options
  • Save shameemreza/59ee7831cca42b6e783ae48dfd946c87 to your computer and use it in GitHub Desktop.
Save shameemreza/59ee7831cca42b6e783ae48dfd946c87 to your computer and use it in GitHub Desktop.
Set all orders as processing in WooCommerce
add_filter( 'woocommerce_order_item_needs_processing', '__return_true' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment