/** * Sets up our actions/filters. * * @return void */ public function __construct() { global $bontoolkit; /* Register shortcodes on 'init'. */ $this->builder_options = bon_toolkit_get_builder_options(); // $this->supported_post_type = $bontoolkit->builder_post_types; add_filter('the_content', array(&$this, 'init')); }
/** * Get the column size array from builder-options.php an then set the array into BON_Toolkit_Builder::$builder_options variable * @access public * @since 1.0.0 * @return array * */ function set_builder_options() { $this->builder_options = bon_toolkit_get_builder_options(); }