action('acfe/form/validate_my-action', $form, $action);
action('acfe/form/validate_my-action/form=my-form', $form, $action);
add_action('acfe/form/validate_my-action', 'my_form_validation', 10, 2);
function my_form_validation($form, $action){ ...
Fatal error: Uncaught Error: Call to undefined function action()
What I’m doing wrong ?
Thanks
]]>Thanks for all the hard work! This plugin is a big help to our non-profit!
]]>Currently the form is setup using HTML with the action as the link using a post method, can I recreate this in CF7 so I can get the recaptcha protection.
Thanks!
]]>is there any way how to trigger custom action (custom function, f.e. add to custom emailing list, call another REST API) after subscription approve by admin? I didn’t find anything among the hooks, API etc. Thank you.
]]>I created a extra field in user profile that should have a number with decimal 13.5 but its saved as 13
what can i do?
]]>I’ve created a custom action in Order backoffice.
https://gist.github.com/sebastienserre/698fcbeeeaf0be52e44a2a28e3ec902c#file-class-email-php
Is someone know why when the action hook woocommerce_order_action_send_invoice_notification
the trigger methods “answer” WC_Email doesn’t exist ?
If someone has a tutorial explaining how to send a WC email on this action hook, you’re welcome.
Thank you and happy new year.
]]>I just wondered if there was any option to add a condition that has to case-insensitively match a certain string when registering. I want to use it as a honeypot where users have to enter a given string because our website has suffered multiple bot attacks. The option “Custom Action” was referring to the action hooks in the documentary but unfortunately I couldn’t work out how to do it from the documentation.
Any help is greatly appreciated, thanks!
]]>I am creating a registration page for an event. I want to send a confirmation email after the user submits the form.
I added add_action('new_registrant', array($this, func_to_send_email()));
in the bnfw.php file. (I also created a new dropdown menu specific to my registration. Added a new notification type ‘register-new-attendee’.. )
Then I tried integrating with the new hook by calling do_action('new_registrant')
from my template.. I was seeing errors before, complaining I was sending the wrong #of args but I believe all that is fixed now and I don’t see any errors in the log.
But still no emails are getting sent. And I don’t know how to debug like javascript (eg. console.log).
I tried print_r() and echo, as we well as setting WP_DEBUG to be true. And no luck.
Any help would be soo appreciate it! TY!!
]]>within a custom actions in my theme’s functions.php, wp_mail and PHPMailer are not working. Do you know why and how to make them working?
I’d like to do that after checking addresses and needs to send emails with a sql query.
Thank you
Kind regards
]]>