YOP Poll
[resolved] Admin settings (2 posts)

  1. timothysutton1
    Posted 2 years 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?



  2. YOP
    Plugin Author

    Posted 2 years 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