Skip to content

Instantly share code, notes, and snippets.

@szbl
Created June 21, 2017 18:10
Show Gist options
  • Save szbl/7f3eacd98a10c669c9339ebbe146f972 to your computer and use it in GitHub Desktop.
Save szbl/7f3eacd98a10c669c9339ebbe146f972 to your computer and use it in GitHub Desktop.
ACF Themes Settings Page
<?php
if ( function_exists( 'acf_add_options_page' ) )
{
$option_page = acf_add_options_page(array(
'page_title' => 'Theme General Settings',
'menu_title' => 'Theme Settings',
'menu_slug' => 'theme-general-settings',
'capability' => 'edit_posts',
'redirect' => false
));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment