I'm working for a client project with wordpress and i would like to change the automatically generated shortcode in the post wich is : [download id="x"].
I use Contact Form 7 and Email Before Download and Advanced Spoiler.
So the file can be downloaded only if the user open the spoiler, then fill the contact form and press 'ok'.
My shortcode looks like this :
[spoiler][email-download download_id="2" format="1" contact_form_id="4"][/spoiler]
> So i'd like to find in wich PHP document i can modify the auto generated code [download id="x"]
> to turn it into [spoiler][email-download download_id="x" format="1" contact_form_id="4"][/spoiler]
This way, my client will not have to worry about coding.
Thank you, i'm pretty newbie in PHP and i can't find where to modify this and how.