public function get_title() { $title = parent::get_title(); if (!empty($_GET['v_e_id']) && !empty(self::$filter_column_mapping['v_e_id']) && intval($_GET['v_e_id'] > 0) && !empty($this->items[0]->e_name)) { $title .= ' for event: ' . $this->items[0]->e_name; } return $title; }
public function __construct() { $this->singular = __('Template', $this->plugin_slug); $this->plural = __('Templates', $this->plugin_slug); parent::__construct(); }