WordPress Snippets at WPcustoms

Enable hidden settings for admins

This snippet adds a new options page showing all site settings which are normally hidden inside your sql database.


/**
 * Snippet Name: Enable hidden settings for admins
 * Snippet URL: http://www.wpcustoms.net/snippets/enable-hidden-settings-admins/
 */
 function wpc_all_settings_link() {
    add_options_page(__('All Settings'), __('All Settings'), 'administrator', 'options.php');
   }
add_action('admin_menu', 'wpc_all_settings_link');