Support » Plugin: Availability Calendar » [Plugin: Availability Calendar] How to allow Editor to access the plugin

  • Resolved Albert

    (@planetshaker)


    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/

  • The topic ‘[Plugin: Availability Calendar] How to allow Editor to access the plugin’ is closed to new replies.