Display hidden WordPress features in the Settings tab

Today, we’ll introduce a little piece of code that does something pretty cool and comes in handy while troubleshooting WordPress. The below code snippet will add an additional option to your settings menu called "all settings" that can show you a complete alphabetical list of all the hidden settings you have within your wp_options table.

 

Display hidden features in Wordpress settings tab

The best thing is that the below code will enable you to adjust any of the settings and save it as per your requirement from the WordPress dashboard itself, with the exception of those that WordPress stores as serialized data.  In addition, the “All settings” tab can only be viewed by the admin users. 

Warning: This tutorial is only for advanced WordPress users. Please don’t try this if you’re not sure what you’re doing. If something goes wrong, this can destroy your database and break your site. You’ve been warned!

Also, take a Wordpress backup before you proceed.

Add the following code to functions.php file to display hidden features in the settings tab.

// CUSTOM ADMIN MENU LINK FOR ALL SETTINGS

  function all_settings_link() {

   add_options_page(__('All Settings'), __('All Settings'), 'administrator', 'options.php');

  }

  add_action('admin_menu', 'all_settings_link');

Once added, here is what the ‘all settings’ menu will look like.

wp hidden settings

The best thing is it allows you to find out if your options table needs a clean up without logging in to phpmyadmin. It also helps you to change the plugin settings that are not offered to normal users.

Download the list of 101 WordPress tricks every blogger should know

101 WordPress tricks

Click here to Download Now

One more thing...

Do you have friends or a Facebook group who you think would find this useful? Share this with them and then let me know what they think.

Want to supercharge your website?

 
Our website loads FAST ... just 1.29 seconds. We're hosted on FAST InMotion VPS servers We want YOUR website to be fast too, so we've gotten you an exclusive deal - 47% OFF for DART Creations friends + FREE domain! Check it out NOW!