Beispiel #1
0
 /**
  * Function get called on init
  */
 public function init_actions()
 {
     // Register anspress shortcode.
     add_shortcode('anspress', array(AnsPress_BasePage_Shortcode::get_instance(), 'anspress_sc'));
     // Register question shortcode.
     add_shortcode('question', array(AnsPress_Question_Shortcode::get_instance(), 'anspress_question_sc'));
 }
Beispiel #2
0
 public function init_actions()
 {
     add_shortcode('anspress', array(AnsPress_BasePage_Shortcode::get_instance(), 'anspress_sc'));
 }