Support

Account

Home Forums Add-ons Options Page Creating Options Pages from a plugin? Reply To: Creating Options Pages from a plugin?

  • The page is not permanent and only appears when the settings are saved and the page is added.

    To do this you must save the information into the database and then you must get this information on ‘init’ and create the other options page on every page load.

    
    // in functions.php or some other locations that is loaded on every page load
    add_action('acf/init', 'create_options_page');
    function create_options_page() {
      // get values from settings page
      // and register acf_options page
    }