singleton(ConnectClient::class, static function () { $giveConnectUrl = (defined('GIVE_CONNECT_URL') && GIVE_CONNECT_URL) ? untrailingslashit(GIVE_CONNECT_URL) : 'https://connect.givewp.com'; return new ConnectClient($giveConnectUrl); }); } /** * @inheritDoc * @since 2.25.0 */ public function boot() { } }