AnsPress_Theme::init_actions()
Description #
Function get called on init
Source #
File: includes/class-theme.php
public static 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' ) ); }
Expand full source code Collapse full source code View on GitHub: includes/class-theme.php:25
Add your comment