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.


  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

About the Author
David Attard
Author: David AttardWebsite:
David has been working in or around the online / digital industry for the last 18 years. He has vast experience in the software and web design industries and niches surrounding them. As a digital consultant, his focus is on helping businesses get a competitive advantage using a combination of their website and digital platforms available today.

One more thing... Did you know that people who share useful stuff like this post look AWESOME too? ;-)
Please leave a useful comment with your thoughts, then share this on your Facebook group(s) who would find this useful and let's reap the benefits together. Thank you for sharing and being nice!

Featured On

Inc Magazine Logo  

Sitepoint logo  

CSS Tricks logo   

webdesignerdepot logo   WPMU DEV logo   

and many more!



Get Started Now With ShutterstockShutterstock

Best Rated Caching Plugin

Make your website faster 

Monstrous B-Day Party

CLICK HERE for discounts!

Monstrous bday party

How to make your website FAST!

Step-by-step - free email course, how to make your website load in less than 1 second 


The Outstanding HungryJPEG Bundles

AWESOMENESS! Bundles of premium font + graphic packs at more than 96% OFF!  Get a bundle for just $9 - ONLY!

The Hungry JPEG Awesome font bundles


Work with

CollectiveRay (formerly known as DART Creations) is interested in developing partnerships with mutual benefit. If you like the stuff we publish and would like to develop a relationship, we'd be happy to hear from you. Go on - drop us a line - we'd love to hear from you :-)


Disclosure: CollectiveRay is funded personally out of pure passion for helping people working with websites. We do however generate some income through recommendations of products. This means if you click on a link and purchase an item we link to, we will receive a small sum out of that sale. We usually partner with vendors to make your purchase cheaper than buying direct.


InMotion Hosting CollectiveRay Deal

who are we?

CollectiveRay is run by David Attard - working in and around the web design niche for more than 12 years, we provide actionable tips for people who work with and on websites. We also run - a website for drone hobbyists.

David attard

Follow us on Social

Follow us on Facebook   Subscribe to our RSS Feed   Follow us on Twitter


Where are we hosted?

This site is proudly powered by FAST VPS InMotion Servers and given an insane speed thanks to StackPath CDN!

Web Hosting stackpath