Renaming Order Statuses
-
Hello, i need help renaming order statuses, maded by plugin.
I use this code://Renaming Order Status add_filter( 'wc_order_statuses', 'wc_renaming_order_status' ); function wc_renaming_order_status( $order_statuses ) { foreach ( $order_statuses as $key = $status ) { $new_order_statuses[ $key ] = $status; if ( 'wc-updated-tracking' === $key ) { $order_statuses['wc-updated-tracking'] = esc_html__( 'Pending','text-domain' ); } } return $order_statuses; }
https://prnt.sc/11p7sh1
And works fine on order backend page, but on plugin settings edit looks like it’s builded to be like constant texts.
Can you help me?
ThanksThe page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Renaming Order Statuses’ is closed to new replies.