How would I put this together.
For plugin Contact Form 7 Data Base how would I add in the "Submitted Login" (user display name) to the search="name"
Original Shortcode
[cfdb-table form="Contact form 1" show="Submitted Login,your-email,your-message" search="AndrewA"]
Tried to put this together a few ways, none worked.
<?php echo do_shortcode('[cfdb-table form="Contact form 1" show="Submitted Login,your-email,your-message" search="' . $current_user->display_name .'"]');?>
This is so users can see their contact form data they have submitted.
Thanks for any help.
do_shortcode()?