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?


Comments

2 responses to “number of orders”

  1. Thank you so much 🙂

  2. 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

Share