WordPress.org

Ready to get started?Download WordPress

Forums

Availability Calendar
[resolved] How to allow Editor to access the plugin (1 post)

  1. planetshaker
    Member
    Posted 1 year ago #

    Go to the index.php of the plugin, search for this line of code (line 126:)

    function admin_menu()
    		{
    			add_submenu_page(
    				'edit-pages.php',
    				'Manage '.$this->name,
    				$this->name,
    				'administrator',
    				$this->tag,
    				array(&$this, 'manage')
    			);
    		}

    And change "administrator" to "edit_pages", so it looks like:

    function admin_menu()
    		{
    			add_submenu_page(
    				'edit-pages.php',
    				'Manage '.$this->name,
    				$this->name,
    				'edit_pages',
    				$this->tag,
    				array(&$this, 'manage')
    			);
    		}

    That's all.

    http://wordpress.org/extend/plugins/availability/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.