<?php

 /*
 * EditorLinks.php
 * 
 * This file is part of the "gotoviar" project.
 * See "LICENSE" for license information.
 */

/**
 * @package gotoviarplugin
 */
namespace GTVR\Base;

use \GTVR\Base\GTVR_BaseController;

class GTVR_EditorLinks extends GTVR_BaseController
{
	public function register() 
	{
		#dummy function, maybe later we will use
		#add_filter( "plugin_action_links_$this->plugin", array( $this, 'editor_link' ) );
	}

	public function editor_link( $links ) 
	{
		$editor_link = '<a href="admin.php?page=gotoviar">Editor</a>';
		array_push( $links, $editor_link );
		return $links;
	}
}