number of orders

Hello, excuse my bad english…
I have affiliate enterprise,
In this page:_ wp-admin/admin.php?page=affiliates-admin-totals&action=close_referrals
i want to see the number of orders.
Now i see:
Order – settembre 18, 2014 @ 03:07 AM
I want see:
Order 1124 – settembre 18, 2014 @ 03:07 AM

it’s possibile?

2 Responses to number of orders

  1. Amosb October 16, 2014 at 2:44 pm #

    Thank you so much 🙂

  2. antonio October 16, 2014 at 7:53 am #

    Hi,
    this field uses ‘get_the_title’ wordpress function, so you could use ‘the_title’ filter to change this text.
    e.g. (adding this code in your functions.php theme file):
    add_filter('the_title', 'my_the_title', 10, 2 );
    function my_the_title ( $title, $id ) {
    global $pagenow;
    $result = $title;
    if ( ( $id ) && ( $pagenow == 'admin.php' ) && ( isset ( $_GET['action'] ) ) && ( $_GET['action'] == 'close_referrals' ) ) {
    $result = $id . '-' . $title;
    }
    return $result;
    }

    cheers

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account

Share