Accessing the post id from modify_form
When in admin Is there a way to access the current post_id from the modify_form function. As i’d like to customise the form fields depending on the currently post_id.
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
Replies
1Hi Daniel
Thanks for reaching out.
Unfortunately, at the moment this isn’t possible. On the whole, widgets are designed to be post independent. Sorry, wish we had better news on this one. Hope you’re able to make progress.
Replies on this thread are closed.
Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.