Skip to content

Instantly share code, notes, and snippets.

@tacensi
Created January 16, 2015 16:51
Show Gist options
  • Save tacensi/0f390ef4b3fc75fac1d2 to your computer and use it in GitHub Desktop.
Save tacensi/0f390ef4b3fc75fac1d2 to your computer and use it in GitHub Desktop.
Put the options page inside another WP menu (posts, pages, etc.)
if ( function_exists( 'acf_add_options_sub_page' ) ){
acf_add_options_sub_page(
array(
'title' => 'Destaques',
'parent' => 'edit.php',
'capability' => 'publish_posts'
)
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment