$current_user = wp_get_current_user();
/**
* @example Safe usage: $current_user = wp_get_current_user();
* if ( !($current_user instanceof WP_User) )
* return;
*/
echo ‘Welcome, ‘ . $current_user->display_name . ‘
‘;
Custom Report:
[product_vendors_total_earnings]