WordPress.org

Ready to get started?Download WordPress

Forums

YOP Poll
[resolved] Admin settings (2 posts)

  1. timothysutton1
    Member
    Posted 1 year ago #

    I would like editing access to YOP Poll limited to editors and admin (not authors).

    Is there any way of doing this within YOP Poll, or maybe external an external plug in that might do the job?

    Tim

    http://wordpress.org/extend/plugins/yop-poll/

  2. YOP
    Member
    Plugin Author

    Posted 1 year ago #

    Hey Tim

    To do this, in your wordpress go to Plugins->Editor.
    Then on the right choose Yop Poll as the plugin to be edited.

    The file you need to edit is yop-poll/inc/admin.php.

    Once you open the file, do a search for function current_user_can

    In that function you can find the options you need to edit.
    Just as an example ...

    'manage_polls_options' => array(
    'administrator' => true,
    'editor' => true,
    'author' => false,
    'contributor' => false,
    'subscriber' => false,
    ),

    Please let us know if you have other questions.

    Best Regards,
    YOP Team

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic