public function render_wp_page_field($args) { $value = $this->_get_field_value($args); $args['value'] = $value; $args['select_options'] = get_pages(); View::get_instance()->render($this->get_view_templates_path() . 'fields' . DIRECTORY_SEPARATOR . 'admin-field-wp-page.php', $args, false, $this->get_view_templates_path()); $this->render_field_description($args); }
public function is_themes_view_exist($view_file) { return View::get_instance()->view_exist($this->get_themes_view_templates_path() . $view_file . '.php'); }
public function get_view($view_file, $view_data = array()) { return View::get_instance()->get_content($this->get_view_templates_path() . $view_file . '.php', $view_data); }