Snippet: Display Only the Theme Settings Media Tab for Non-Admins
The following snippet can be used to hide all the settings in the Theme Settings metabox for non-admins. Note, if you wish to hide all the settings from everyone you can use the option in the Theme Panel.
All PHP snippets should be added via child theme's functions.php file or via a plugin.
We recommend Code Snippets (100% Free) or WPCode (sponsored)
We recommend Code Snippets (100% Free) or WPCode (sponsored)