示例#1
0
 function frontend_assets()
 {
     if (is_quiz() && get_the_ID() == $this->id) {
         $translate = $this->_get_localize();
         LP_Assets::add_localize($translate, false, 'single-quiz');
         LP_Assets::add_param($this->_settings(), false, 'single-quiz');
     }
 }