This is more of a feature request than a support issue, since the plugin is not broken and thus no “fix” is required.
You should not have to modify my plugin directly, as there are many filter & action hooks in place to allow a huge amount of customization with just a tiny bit of PHP knowledge.
If you don’t know about child themes, do a search and set up a child theme first. Then you can put your custom code in your child theme’s functions.php file and not have to worry about it getting wiped out if you update your theme, or my plugin.
There is a filter in place for the display name, which you can find on line 769 in the class-pta_sus_public.php file in my plugin. It looks like this:
$display_signup = apply_filters( 'pta_sus_display_signup_name', $display_signup, $signup );
That filter passes two variables, the first being the formatted name ($display_signup), and the second is the $signup object, which has (among others) the two properties that you need for the name:
$signup->firstname
$signup->lastname
So, if you want to always show the full names, you add a function like the following (not tested) to your child theme’s functions.php file:
function pta_show_full_name($display_signup, $signup) {
return esc_html($signup->first_name . ' ' . $signup->lastname);
}
add_filter('pta_sus_display_signup_name', 'pta_show_full_name', 10, 2);
The above function will ALWAYS return the firstname, then a single space, then the last name.