protected function find_tests() { return WpTesting_Query_Test::create()->findAllByPassingRespondent($this->wp->getCurrentUserId(), array('Test.post_title')); }
public function getList() { $tests = WpTesting_Query_Test::create()->findAllPublished(); return $this->render('Shortcode/list', array('tests' => $tests, 'wp' => $this->wp)); }
protected function find_tests() { return WpTesting_Query_Test::create()->findAllPublished(array('post_title' => 'ASC')); }