That button allows you to change the order status to Processing.
If you really want to remove it then, you can simply place following code in your theme’s functions.php file
function remove_processing_order_action_icon($actions){
unset($actions['processing']);
return $actions;
}
add_filter('woocommerce_admin_order_actions', 'remove_processing_order_action_icon', 10, 3);
Glad you’re all set. Feel free to start a new thread if you need further help with WooCommerce.
Prasad, how can I release this functionality only for admin users? How to check if it is a admin user logged in.
Below is the updated code with a check for admin user:
function remove_processing_order_action_icon($actions){
if( is_admin() || is_super_admin() ) {
unset($actions['processing']);
return $actions;
}
}
add_filter('woocommerce_admin_order_actions', 'remove_processing_order_action_icon', 10, 3);
But with the Shop Manager profile is getting too. ;/
I got with this:
$user = wp_get_current_user();
if ( $user->roles[0] != 'administrator' )
unset($actions['processing']);
return $actions;
Prasad, how can I translate the header-main and the header-top of a page? Link: novosite.iqnus.com.br
Thanks.
Kindly create a new topic for distinct queries where you need support.
With regards to your latest query however, I would suggest getting in touch with WPML Support for faster and first hand details.
Hi Prasad, I had create new topic. Sorry for the inconvenience.