Glad to help:
“Is it possible to add more custom meta fields in post created by the form with some of the hook filters or actions and which/how?”
No the free version provides only one custom field.
Let me know if I can provide any further infos, glad to help however possible.
Thread Starter
Grof
(@grof)
Ok, I’ll ask a little different:
I need to do something after inserting post with his post_ID. Or, how to get post_ID of just inserted post from submitted form.
I’ve seen list of all filters and actions here:
https://perishablepress.com/action-filter-hooks-user-submitted-posts/
But I do not know what parameters these functions pass?
Glad to help:
1) “I need to do something after inserting post with his post_ID. Or, how to get post_ID of just inserted post from submitted form.”
If you try submitting a test post and look at the resulting URL in the address bar, you will see that the post ID is returned for example:
/sample-page/?success=1&post_id=275
The same ID is attached to the submitted post as a custom field:
usp-post-id
2) “But I do not know what parameters these functions pass?”
Yeah you’ll have to examine the source code to get more infos about parameters, context, etc.