I am using acf_form() for a front end submission.
It works fine, but I wanna hide a form after a submission, show Thanks message and if possible add the url of the new post created.
Alter the “return” argument of acf_form() to the page you want to show. Create a custom php template for this page. You will need to extract the post_id from the URL query string. Use the post ID to get the link and display it.
Thank-you for the reply.
I’m a newbie to PHP, can you give me an example code which I can use to get the result.