Posted on Leave a comment

Tweaks Overview

WCFM Dashboard is most flexible one, you may change anything as per your requirement very easily. Now if we create setting option for all these then it will be a painful job for you to find out the right one for your purpose.

We have kept possibilities to tweak those easily by adding 1-2 lines of code. You may add those codes in two ways –

  1. Add codes at your child theme’s functions.php
  2. Install code snippet (https://wordpress.org/plugins/code-snippets/) plugin and add using this

Find below, some of the most popular tweaks people looking for!

Posted on Leave a comment

Order Status with Label

WCFM Order listing page by default shows order status by icon. But you may change this and show status as icon+text as well.

You have to use this code snippet –

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

Hence it will look like this –