Your cart is currently empty!
number of orders
—
by
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?
Posted in Affiliates Enterprise
Comments
2 responses to “number of orders”
Thank you so much 🙂
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