I need to run a simple function upon the submission of an acf front-end form.
Currently, I’m using the
acf/save_post action but it isn’t tied to the form submission. I only want to run the function on the form submission event.
Is there a way I can do this?
Ignore me. I have it working as it should be.
I was rebuilding this function, and forgot to remove the non acf function call later in the file – hence why it was running outside of the form submission.