Add link to All Options in WordPress Admin Settings

How to Add link to All Options in WordPress Admin Settings

in WordPress Admin
Google+ LinkedIn

WordPress have a secret options section that contains all core WordPress settings on one single page.

Here’s a quick code snippet to display an “All Options” page to view otherwise hidden data.

Just add that code to your theme’s functions.php file and then visit the settings menu in the WordPress admin panel. There you’ll see a new link to the “All Options” page.

// add link for all options/settings in WordPress admin
function wcs_add_all_options_link() {
    add_options_page( __('All Options'), __('All Options'), 'administrator', 'options.php' );
}
add_action( 'admin_menu', 'wcs_add_all_options_link' );

Share the love

If you like this snippet, share it with others!

Leave a Reply

Your email address will not be published. Required fields are marked *