• Resolved webmaster1234

    (@webmaster1234)


    Hello I am trying to remove the following options from the Bulk Edit Order Dropdown Menu.

    “Mark on hold”
    “Mark as processing”

    This is not working?

    add_filter( ‘bulk_actions-mark_processing-shop_order’, ‘__return_empty_array’, 100 );

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

    (@conschneider)

    Engineer

    Hi there,

    Here you go:

    add_filter( 'bulk_actions-edit-shop_order', 'custom_shop_order_bulk_actions', 999 );
    function custom_shop_order_bulk_actions( $actions ) {
        //Remove on hold and processing status from bulk actions
        unset( $actions['mark_on-hold'], $actions['mark_processing'] );
        return $actions;
    }

    Kind regards,

    Thread Starter webmaster1234

    (@webmaster1234)

    Thank you for the quick reply @conschneider. The drop down menu options are still appearing for me. Version: 3.6.2

    • This reply was modified 6 years, 5 months ago by webmaster1234.
    Thread Starter webmaster1234

    (@webmaster1234)

    Ok thank you @conschneider it was “Woocommerce Order Status Manager” adding the options back to the menu!

    Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    Thanks for letting us know what the solution was for you!

    I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

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

The topic ‘Removing Bulk Order Actions from Order Screen’ is closed to new replies.