ControlledChaos
4/1/2016 - 5:17 PM

Create an Advanced Custom Fields options page for a custom post type.

Create an Advanced Custom Fields options page for a custom post type.

<?php

if ( function_exists( 'acf_add_options_sub_page' ) ) {
	acf_add_options_sub_page(array(
		'title'      => 'Post Type Settings',
		'parent'     => 'edit.php?post_type=slug',
		'capability' => 'manage_options'
	));
}

?>

ACF Options Page for CPT

WordPress Snippet