Theme Mode Integration
Is there an OptionTree filter that allows changing role capability, say to allow an Editor to view the Theme Options?
I did it the WordPress way and it works, but was just wondering.
// Allow editor to change theme settings get_role('editor')->add_cap('edit_theme_options');
- The topic ‘Filter for allowing editors to access Theme Options in Admin’ is closed to new replies.