Created
December 14, 2018 17:26
-
-
Save sophiawzey/fcd28a669ce9f3b09b79a8ce2f737730 to your computer and use it in GitHub Desktop.
[ACF Theme Options] #wordpress #acf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//ACF Admin Options | |
if( function_exists('acf_add_options_page') ) { | |
acf_add_options_page([ | |
'page_title' => 'Theme Settings', | |
'menu_title' => 'Theme Settings', | |
'menu_slug' => 'theme-settings', | |
'capability' => 'edit_posts', | |
'redirect' => FALSE | |
]); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment