1if( function_exists('acf_add_options_page') ) {
2 acf_add_options_page(array(
3 'page_title' => 'Theme General Settings',
4 'menu_title' => 'Theme Settings',
5 'menu_slug' => 'theme-general-settings',
6 'capability' => 'edit_posts',
7 'redirect' => false
8 ));
9 acf_add_options_sub_page(array(
10 'page_title' => 'Theme Header Settings',
11 'menu_title' => 'Header',
12 'parent_slug' => 'theme-general-settings',
13 ));
14}