private function tabSnippets() { $data = array(); echo Peecho_View::render('admin_snippets', $data); }
public function addJqueryUiDialog() { $snippets = get_option(Peecho::OPTION_KEY, array()); $snippets = apply_filters('peecho_snippets_list', $snippets); $data = array('snippets' => $snippets); echo Peecho_View::render('jquery-ui-dialog', $data); }