static function set_user_membership_optional($optional = true) { self::$user_membership_optional = $optional; }