Support

Account

Home Forums Add-ons Options Page Multiple Options page, not subpage Reply To: Multiple Options page, not subpage

  • Hey Jack,

    This is fairly simple. You can add multiple subpages by doing the following:

    add_filter(‘acf/options_page/settings’,'my_options_page_settings’);
    
    function my_options_page_settings($options)
    {
    $options['title'] = __(‘Partners’);
    $options['pages'] = array(
    (‘Partners’),
    (‘Page Two’),
    (‘Page Three’),
    (‘Page Four’)
    
    );
    
    return $options;
    
    }

    You just add onto the array.