How to use actions
-
Hello,
At:
https://docs.themeisle.com/article/663-what-actions-and-filters-are-available-in-pirate-forms
You list some actions you have developed.
However, there do not seem to be any instructions around how to use these actions.
I would like to change the destination/recipient email address.
Not knowing where to add this code, or how it works, I just tried.
For example, if I copy:
do_action( ‘pirate_forms_before_sending’, ‘[email protected]’, $subject, $body, $headers, $attachments );
Into my theme’s functions.php file, this does not work – ie it does not change the recipient email address.
Any help would be very much appreciated.
If this is a premium feature, please let me know.
Thanks ahead of time.
- The topic ‘How to use actions’ is closed to new replies.