WordPress.org

Support

Support » Plugins and Hacks » Filter for allowing editors to access Theme Options in Admin

Filter for allowing editors to access Theme Options in Admin

  • IntricatePixels
    Participant

    @intricatepixels

    WordPress 3.5.1
    OptionTree 2.0.15
    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');

    http://wordpress.org/extend/plugins/option-tree/

  • The topic ‘Filter for allowing editors to access Theme Options in Admin’ is closed to new replies.