I’m trying to add the current username in an embedded 3rd party shortcode
Here’s what I’ve got:
<?php echo do_shortcode('[table id=2 /]'); ?>
I’m trying to replace "2" with the current user who is logged in.
Thank you for your help.
I’m trying to add the current username in an embedded 3rd party shortcode
Here’s what I’ve got:
<?php echo do_shortcode('[table id=2 /]'); ?>
I’m trying to replace "2" with the current user who is logged in.
Thank you for your help.