/** * 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')); }
public function init_actions() { add_shortcode('anspress', array(AnsPress_BasePage_Shortcode::get_instance(), 'anspress_sc')); }