Created
October 22, 2015 21:27
-
-
Save marcbacon/9e00cf8030aceb91b2c3 to your computer and use it in GitHub Desktop.
Enable GOD MODE in WordPress - all settings saved in the database in one place
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
/** | |
* Enable GOD MODE - all settings saved in the database in one place | |
*/ | |
function god_mode() { | |
add_options_page(__('All Settings'), __('All Settings'), 'administrator', 'options.php'); | |
} | |
add_action('admin_menu', 'god_mode'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Which directory we need to upload?