Enable Hidden Administration Feature displaying All Site Settings
Tested on: WordPress 3.1 RC3
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 administrator user and hide it for all other users.
// 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');
Related Posts:
- How do I call wp_get_current_user() in a plugin when plugins are loaded before pluggable.php?
- Shared functionality in plugins and themes
- Remote upload file to server B
- Editor access to plugin settings
- Creating button next to “add media” that allows you to choose a single post
- WooCommerce create new product and add to cart on form submit
- Post source link plugin – small modification
- What’s the point of using WordPress’s built in admin-ajax.php?
- Modifying Footnote Plugin for Descriptive Title Attributes
- How to Replace Words with Hypertext Link But Ignore Previously Existed Links?
- Debugging Technique Question re: functions.php
- Override the filter from plugin in child theme
- Remove Duplicator plugin from admin menu if not an administrator
- Add a custom form on the post-new.php admin page
- Edit Yoast SEO breadcrumbs output [closed]
- Calling an attribute from a plugin shortcode
- Redirect to another page using contact form 7? [closed]
- Display Custom Field Value on Admin Page Column
- Plugin Development – Functions or Hooks?
- Need to replace Currency Shortforms
- Overriding an Array in a Plugin’s Class/Function from functions.php
- Set up functions to be overridden without using function_exists() by short-circuiting them?
- Change Header (Logo) Based on Login
- how to change wp-admin url using function file
- same user role or copy the user role to be same as the other role
- Call javascript functions from each page
- How to add custom function to pluggable.php
- Gathering all Custom Post Type posts in to array/object the proper way
- What is the most efficient way of adding additional functionaliy for admin only
- How to keep plugin (media-sync) running even the tab is closed?
- RSS feeds for specific topics
- implement custom roles in custom plugin
- Post source link plugin – small modification
- Custom Plugin: How to Include Install Buttons of other 3rd Party Plugins?
- Adding discount functionality to the cart
- How to assign a specific service to a specific provider based on location
- Precheck fields when I add a new post
- working code, not working – Plugin Dev
- Echo custom admin field into a is_single()
- Place content inside the Post Loop
- Conditional required fields for WordPress Contact Form 7
- pluggable function in theme, to be overridden by plugin
- admin panel save option with ajax
- overwrite a plugin function in functions.php
- WordPress: code structure
- How to Add Extra Text In WordPress Title Before Post Publish
- How to disable plugin capability : “create new category”
- Product customizing quiz – quiz adding products to the cart
- similar of my posts in all over the internet sites and blogs [closed]
- Replacing Icons in the Dashboard
- Checking if an attribute exists in a shortcode
- How Is Network Activate Different From Activate (by Implementation)?
- Delete Post With No Traffic?
- Automatically Creating Posts for Popular Forum Topics or Products [closed]
- While Using Static Pages, How Can I Get /blog into the URL of Each Post?
- Fatal error: Class not found in
- I need some direction on how to have a sidebar based on meta rather than page
- Using plugin functionality in external php script not working
- WordPress and WebRTC?
- Override plugin with functions.php
- Getting Post details when post is published
- Set of plugins to control the Admin UI
- Missing argument 3 for wp_register_sidebar_widget()
- Plugin Customization Lost During Plugin Upgates
- WordPress Plugin Page is Loading in Admin Content Container Instead of Separate Page
- Plugin upgrade issue
- Shortcode button dosent work for all posts. Work for first post only
- Is there a way I can find wordpress posts that don’t contain a word?
- Prevent shortcode from being wrapped in tags
- What’s the best way to implement AJAX in WordPress?
- Save custom attributes of product in woocommerce
- Grab WordPress Salt Data From URL
- Add category selection to custom post type (plugin)
- Translation plugin to translate another plugins
- Add sub menu page in your plugin
- Contact Form 7 – Form name blank [closed]
- WordPress Admin Menu defining function is seperate file
- Return multiple values in a shortcode attribute
- get specific value of a array | PHP
- in source code but I can’t find it in files or plugins
- Historical customisations won’t go away [closed]
- Updating WordPress plugin admin panel footer text
- unregister a sidebar widget
- How to disable Wp-PageNavi at the top of the page
- woocommerce remove coupon link does not work
- Get Shortcode output to database for static post_content
- Paid Membership Pro displaying a user name in PHP
- Change custom rewrite rule when permalink is updated/changed
- Creating Nested custom fields
- Home page letters
- Find all strings between an enclosing shortcode
- Plugin does not create a custom table upon activation
- Get page type to display content
- How to fix vanilla comments extra iframe space
- What would cause edit buttons for plugins to disappear?
- Woocommerce quick checkout form [closed]
- wordpress Search function is not working
- How to add image for custom taxonomy
- PHP Creating a formula from mysql db values and db stored math operator
- How can I properly sanitize the update_option in WordPress?