Support

Account

Home Forums General Issues Acf pro within an iFrame Reply To: Acf pro within an iFrame

  • to add some more context, the option page is added using acf_add_options_page

    if I use get_option I can see my option, if I do acf_options_page()->get_page("my-page") I can see the page.

    If I add an option page with the UI all works find.

    so:
    – acf_add_options_page + iFrame (wp-load.php) doesn’t work
    – UI + iFrame (wp-load.php) works

    acf_add_options_page runs in the add_action('acf/init', 'init_acf')