In addition to top level option pages, you can create an options page that’s a subpage to an existing page. In this case, we’re creating a “Portfolio Settings” settings page that appears under the “Projects” CPT area in the backend.
/**
* ACF Options Page
*
*/
function ea_acf_portfolio_page() {
if ( function_exists( 'acf_add_options_sub_page' ) ){
acf_add_options_sub_page( array(
'title' => 'Portfolio Settings',
'parent' => 'edit.php?post_type=project',
'capability' => 'manage_options'
) );
}
}
add_action( 'init', 'ea_acf_portfolio_page' );