/** * The main bbPress (Default) Loader * * @since bbPress (r3732) * * @uses BBP_Default::setup_globals() * @uses BBP_Default::setup_actions() */ public function __construct($properties = array()) { parent::__construct(bbp_parse_args($properties, array('id' => 'default', 'name' => __('bbPress Default', 'bbpress'), 'version' => bbp_get_version(), 'dir' => trailingslashit(bbpress()->themes_dir . 'default'), 'url' => trailingslashit(bbpress()->themes_url . 'default')), 'default_theme')); $this->setup_actions(); }
/** * The main bbPress (Default) Loader * * @since bbPress (r3732) * * @uses BBP_IOA::setup_globals() * @uses BBP_IOA::setup_actions() */ public function __construct($properties = array()) { parent::__construct(bbp_parse_args($properties, array('id' => 'IOA', 'name' => __('BBPress IOA', 'bbpress'), 'version' => bbp_get_version(), 'dir' => trailingslashit(get_template_directory() . '/external/bbpress'), 'url' => trailingslashit(get_template_directory_uri() . '/external/bbpress')), 'default_theme')); $this->setup_actions(); }