文件操作 - types.ts
返回文件管理
返回主菜单
删除本文件
文件: /home/www/public/wp-content/plugins/give/src/Subscriptions/resources/types.ts
编辑文件内容
type Gateway = { enabled: boolean; id: string; label: string; supportsRefund: boolean; supportsSubscriptions: boolean; }; /** * @since 4.8.0 */ export type GiveSubscriptionOptions = { isAdmin: boolean; adminUrl: string; pluginUrl: string; apiRoot: string; legacyApiRoot: string; apiNonce: string; syncSubscriptionNonce: string; subscriptionsAdminUrl: string; currency: string; isRecurringEnabled: boolean; isFeeRecoveryEnabled: boolean; subscriptionStatuses: { [statusCode: string]: string }; mode: 'test' | 'live'; gateways: Gateway[]; }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件