Contact form 7 has some shortcodes, like [_date] to get todays date. But I want to display the date one week from now.
So I need to create a custom shortcode to Contact form 7 that takes say [next_week] and in the recived email the correct date is displayed.
Where and how do I create custom shortcodes to Contact form 7?
Add the following to your functions.php
Now in the “Form” field in CF7 GUI type
[custom_date next_week]Now you can use
[next_week]in the message body.