/** */ public function supported() { if (true === parent::supported()) { return $this->is_active(); } return false; }
/** * Check if BuddyPress is active * * @return boolean */ public function supported() { // is buddypress active? if (class_exists('BP_Component')) { return parent::supported(); } return false; }