Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].
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.
Hi 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.