Hi,
I’m still new to this and I faced the same problem. This is the code I add in function.php
acf_add_options_sub_page(array(
'page_title' => 'Product Settings',
'menu_title' => 'Product Settings',
'menu_slug' => 'product-settings',
'parent_slug' => 'edit.php?post_type=product',
'capability' => 'manage_options',
'position' => false,
'icon_url' => false,
));
I follow the tutorial from here: https://www.bobz.co/dynamically-populate-select-fields-choice-in-advanced-custom-fields/
When I change to this add_action( 'admin_menu', array( $this, 'adminMenuPages' ), 101)
my page went blank.
Appreciate any advise. Thanks.