Title: Using custom order status
Last modified: January 22, 2021

---

# Using custom order status

 *  Resolved [Kuler89](https://wordpress.org/support/users/kuler89/)
 * (@kuler89)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/using-custom-order-status/)
 * Hello,
 * I have a custom order status that I created using this code:
 *     ```
       function wpblog_wc_register_post_statuses() {
       register_post_status( 'wc-shipping-progress', array(
       'label' => _x( 'Shipping In Progress', 'WooCommerce Order status', 'text_domain' ),
       'public' => true,
       'exclude_from_search' => false,
       'show_in_admin_all_list' => true,
       'show_in_admin_status_list' => true,
       'label_count' => _n_noop( 'Approved (%s)', 'Approved (%s)', 'text_domain' )
       ) );
       }
       add_filter( 'init', 'wpblog_wc_register_post_statuses' );
   
       function wpblog_wc_add_order_statuses( $order_statuses ) {
       $order_statuses['wc-shipping-progress'] = _x( 'Shipping In Progress', 'WooCommerce Order status', 'text_domain' );
       return $order_statuses;
       }
       add_filter( 'wc_order_statuses', 'wpblog_wc_add_order_statuses' );
       ```
   
 * But when I try to select it as a trigger for a follow-up email it doesn’t show
   on the list. What am I missing?
 * Awesome plugin btw.
 * Thnx

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Support [damianmachnik](https://wordpress.org/support/users/damianmachnik/)
 * (@damianmachnik)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/using-custom-order-status/#post-13951920)
 * Hi [@kuler89](https://wordpress.org/support/users/kuler89/)
 * If you want to use custom order status, select **Order Status Changed** event
   and then use your custom order status in one the extra fields available in this
   event.
 * Here’s an [example](https://imgur.com/a/l6x6DR0).
 * I’m glad that you like our plugin 🙂
 *  Thread Starter [Kuler89](https://wordpress.org/support/users/kuler89/)
 * (@kuler89)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/using-custom-order-status/#post-13951952)
 * Ah, I didn’t notice that. Thank you very much 🙂
 *  Plugin Support [damianmachnik](https://wordpress.org/support/users/damianmachnik/)
 * (@damianmachnik)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/using-custom-order-status/#post-13952438)
 * No problem. I’m happy to help 🙂
 * Have a nice day [@kuler89](https://wordpress.org/support/users/kuler89/)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Using custom order status’ is closed to new replies.

 * ![](https://ps.w.org/shopmagic-for-woocommerce/assets/icon-256x256.png?rev=2847401)
 * [ShopMagic - email automation](https://wordpress.org/plugins/shopmagic-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shopmagic-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shopmagic-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/shopmagic-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shopmagic-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shopmagic-for-woocommerce/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [damianmachnik](https://wordpress.org/support/users/damianmachnik/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/using-custom-order-status/#post-13952438)
 * Status: resolved