Support

Account

Home Forums Add-ons Options Page Using a dynamic post_id in acf_add_options_page()

Unread

Using a dynamic post_id in acf_add_options_page()

  • Hello,

    Do you see any concerns with using a dynamic post_id in the acf_add_options_page() function?

    For example:

    'post_id' => "user_{$dynamic_user_id}",

    What we are trying to do is create an options page where we can edit some user meta for a selected user.

    We don’t want to use the regular Edit User screen, since that page allows editing more information than we want to make available to our Editors.

    Thanks in advanced for your help!

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.