After a form is filled out there are 2 actions triggered:
– Create a new post
– Send an email to admin
I would like to use the post ID of the created post within the email action so I can add a direct link for the admin to open this particular post by 1 click.
f.i.: Open post
What does not work:
{current:post}
(opens the page where the form is implemented)
{current:post:ID}
(opens the page where the form is implemented)
Any shortcode available for this or code option to create one myself?