Title: Remove status dropdown
Last modified: April 3, 2019

---

# Remove status dropdown

 *  Resolved [Ernie](https://wordpress.org/support/users/ernieh/)
 * (@ernieh)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/remove-status-dropdown/)
 * Have a client that wants to replace the Order Status dropdown from a dropdown
   to a customized list of checkboxes/radio buttons.
 * I don’t know he seems to think it would be easier.
 * I have tried to just remove the entire dropdown
 *  `remove_filter( 'wc_order_statuses', 'filter_wc_order_statuses', 10, 1 );`
 * but that doesn’t seem to be working. I have found where the html for the dropdown
   is added in “class-wc-meta-box-order-data.php” but there doesn’t seem to be a
   hook to grab just that ouput.
 * Any suggestions much appreciated

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

 *  [Dat Hoang](https://wordpress.org/support/users/htdat/)
 * (@htdat)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/remove-status-dropdown/#post-11407144)
 * Hi,
 * > I have found where the html for the dropdown is added in “class-wc-meta-box-
   > order-data.php” but there doesn’t seem to be a hook to grab just that ouput.
 * You’re right. There is no hook or to change here:
 * [https://github.com/woocommerce/woocommerce/blob/3.5.7/includes/admin/meta-boxes/class-wc-meta-box-order-data.php#L241-L261](https://github.com/woocommerce/woocommerce/blob/3.5.7/includes/admin/meta-boxes/class-wc-meta-box-order-data.php#L241-L261)
 * If this is a hard requirement, you may work around by editing the core file directly(
   although this is recommended).
 *  Thread Starter [Ernie](https://wordpress.org/support/users/ernieh/)
 * (@ernieh)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/remove-status-dropdown/#post-11409755)
 * Thanks Dat
 * No worries. I went another route, using some JavaScript to change the dropdown.
   Seems to be working out OK.
 * Thanks again
 *  [Dat Hoang](https://wordpress.org/support/users/htdat/)
 * (@htdat)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/remove-status-dropdown/#post-11410579)
 * Ah, using JavaScript is an interesting approach. If you do not mind, can you 
   share the code for that?
 *  Thread Starter [Ernie](https://wordpress.org/support/users/ernieh/)
 * (@ernieh)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/remove-status-dropdown/#post-11410722)
 * Actually, I kind of cheated, I found this script [https://github.com/nhtera/select2OptionPicker](https://github.com/nhtera/select2OptionPicker)
   Then modified it to my needs, adding to the theme with ‘admin_enqueue_scripts’
 * Here is a screenshot of the finished work if interested [https://drive.google.com/file/d/1lOA4935bBiS7oinTPXdVLjACgmd7TNWi/view?usp=sharing](https://drive.google.com/file/d/1lOA4935bBiS7oinTPXdVLjACgmd7TNWi/view?usp=sharing)

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

The topic ‘Remove status dropdown’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Ernie](https://wordpress.org/support/users/ernieh/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/remove-status-dropdown/#post-11410722)
 * Status: resolved