Enable Hidden Admin Feature displaying ALL Site Settings

 In Wordpress Admin

Enable Hidden Admin Feature displaying ALL Site Settings

This little piece of code does something pretty cool. It will add an additional option to your settings menu with a link to “all settings” which will show you a complete list of all the settings you have within your database related to your wordpress site. The code below will only made this link visible to an admin user and hide it for all other users.

function ns_all_settings_link() {
 add_options_page(__('All Settings'), __('All Settings'), 'administrator', 'options.php');
}
add_action('admin_menu', 'ns_all_settings_link');

 

source http://wordpress.stackexchange.com

Thank you for seeing my code snippet. Fell free to share and comment ? . Do you have a code snippet and you want to see it publish on my site? I will be more than happy to do it, just please send me a message here. 

Recent Posts

Start typing and press Enter to search