Created
October 21, 2021 19:15
-
-
Save yxod/6812c29e50568024e3eee47c3bb27a94 to your computer and use it in GitHub Desktop.
Wordpress: Acf option page
This file contains 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
if( function_exists('acf_add_options_page') ) { | |
acf_add_options_page(array( | |
'page_title' => 'Настройки темы', | |
'menu_title' => 'Настройки темы', | |
'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