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 –

Leave a Reply

Your email address will not be published. Required fields are marked *