I have a working shortcode, ie like this:
[shortcode_name search="" show="url, color, size"]
In this shortcode if I insert for example an email inside search (search="email@example.com") it displays all entries from that e-mail. If I don't write anything, it displays all entries from all e-mails.
I would like to insert a variable like search="'.$user_email.'" to display all entries of that logged user.
How can I use that variable?
I tried also with a shortcode that generates the e-mail, but how to use a shortcode inside another shortcode?
[shortcode_name search="[user_email_shortcode]" show="url, color, size"] but of course it doesn't work.