Diwali

Wishing you joy this Diwali and Halloween! Enjoy up to 20% OFF on all addons!

Claim Offer
01Day 03Hr 42Min 25Sec
Diwali

Change icon by text in status

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Viewing 1 reply thread
  • Author
    Posts
    • #51544
      Danimar
      Guest

      I want change icon by text in status list, follow image below:

      https://i.imgur.com/eUPQinZ.jpg

      I could do it? it’s possible?

    • #51588
      WCFM Forum
      Member

      Hi,

      Please add this code to your child theme’s functions.php –

      add_filter( 'wcfm_order_status_display', function( $label, $the_order ) {
      	$label = wc_get_order_status_name( $the_order->get_status() );
      	return $label;
      }, 50, 2 );

      Thank You

Viewing 1 reply thread
  • The topic ‘Change icon by text in status’ is closed to new replies.