Last active
August 29, 2015 14:01
-
-
Save robskidmore/2c908dd972d9a0a025f0 to your computer and use it in GitHub Desktop.
Advanced Custom Fields Add Options Page
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
// Custom ACF options pages | |
function my_acf_options_page_settings( $settings ) | |
{ | |
$settings['title'] = 'Site Options'; | |
$settings['pages'] = array('Home', 'Highlighted'); | |
return $settings; | |
} | |
add_filter('acf/options_page/settings', 'my_acf_options_page_settings'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment