-
-
Save billerickson/a99f6dc373ab30c799b45cc5bd6815ed to your computer and use it in GitHub Desktop.
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
<?php | |
/** | |
* ACF Options Page | |
* | |
*/ | |
function ea_acf_options_page() { | |
if ( function_exists( 'acf_add_options_page' ) ) { | |
acf_add_options_page( array( | |
'title' => 'Site Options', | |
'capability' => 'manage_options', | |
) ); | |
} | |
} | |
add_action( 'init', 'ea_acf_options_page' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment