Home›Forums›Feature Requests›Volunteer Sign-Up Sheets – Feature Requests›Show full last name of volunteer›Reply To: Show full last name of volunteer
April 24, 2015 at 8:02 AM
#3366
Stephen Sherrard
Keymaster
Sorry there was a typo… add_filters should be add_filter (not plural).
The below code has been tested and works:
add_filter( 'pta_sus_display_signup_name', 'pta_modify_signup_display_name', 10, 2 );
function pta_modify_signup_display_name( $display_name, $signup ) {
return esc_html($signup->firstname).' '.esc_html($signup->lastname);
}