I need to add a custom shortcode, that is, in addition to those already provided by the plugin, such as [nome]
, [email]
, etc. in the email body to be sent.
The reason is that I need to check the value of a form field and put the appropriate url in the email.
I saw here that there was a way to do this by adding a filter in functions.php
, but apparently now this is no longer possible: (
Any help will be appreciated!