id}", array($this, 'preview_entry'), 10, 2); } } /** * admin int hook. * * * @return void */ public function init(){ } /** * admin int hook. * * * @return void */ public function init_fields(){ } /** * Get themes for the extension. * * * @param array $args Settings arguments. * @return mixed */ public function type_trigger($triggers){ $triggers[$this->id] = "@source:{$this->default_source}"; return $triggers; } /** * Get themes for the extension. * * * @param array $args Settings arguments. * @return mixed */ public function get_themes(){ return $this->themes; } /** * Get responsive themes for the extension. * * * @param array $args Settings arguments. * @return mixed */ public function get_res_themes(){ return $this->res_themes; } /** * Get templates for the extension. * * * @return array */ public function get_templates(){ return $this->templates; } /** * Get mobile templates for the extension. * * * @return array */ public function get_mobile_templates(){ return $this->mobile_templates; } }