Hi everyone,
I’ve added an options page and it shows up as I want (under the general settings page).
public function add_options_page() {
if( function_exists('acf_add_options_sub_page') ) {
acf_add_options_sub_page([
'page_title' => 'My Settings',
'menu_title' => 'Your Settings',
'parent_slug' => 'options-general.php'
]);
}
}
However when I go into ACF I cannot attach fields to it because the drop down says No options pages exist. Any suggestions?
I am using ACF 5.6.5 on WP 4.9. Thanks!
On what hook is your function running?