Hi everyone. I’m trying to user a query to display a list of subscribers in the format “Rick S.” FirstName LastInitial. I can do this with JS, but I’m trying to figure out how to do it with any native Bricks features or PHP. Any help would be appreciated.
Found a solution:
$last_initial = bricks_render_dynamic_data(‘{wp_user_last_name}’);
echo substr(“$last_initial”,0,1);
1 Like