Replies: 0
Hi!
I’m using ‘pdb-after_submit_add’ hook to add my participants to mailing lists of another plugin. When I manually add a participant in the backend, my hook works fine and the participant is added to the mailing lists.
However, when I use ‘pdb_signup’ shortcode in the front-end, my hook doesn’t seem to work. It looks like hook is not used when using that shortcode? I can’t get any errors or anything.
API says:
“‘pdb-after_submit_add’
triggered after a new record is added from the frontend or the backend, provides the record values as stored in the database”.
So as far as I can understand it should work both in back-end and front-end.
There is also for example hook ‘pdb-after_submit_signup’, should I use that one for front-end?
Thanks!