Home>Support>Accessing the post id from modify_form

Accessing the post id from modify_form

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.

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 9 months ago Andrew Misplon
    Hi, I Work Here

    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.

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.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More