文件操作 - types.ts
返回文件管理
返回主菜单
删除本文件
文件: /home/www/public/wp-content/plugins/give/src/Donations/resources/types.ts
编辑文件内容
import { IntlTelInputSettings } from "@givewp/forms/propTypes"; type Gateway = { enabled: boolean; id: string; label: string; supportsRefund: boolean; supportsSubscriptions: boolean; }; /** * @since 4.6.0 */ export type GiveDonationOptions = { isAdmin: boolean; adminUrl: string; apiRoot: string; apiNonce: string; donationsAdminUrl: string; currency: string; currencySymbol: string; isRecurringEnabled: boolean; intlTelInputSettings: IntlTelInputSettings; nameTitlePrefixes: string[]; countries: {[countryCode: string]: string}; states: { list: {[countryCode: string]: {[stateCode: string]: string}}; labels: {[countryCode: string]: string}; noStatesCountries: string[]; statesNotRequiredCountries: string[]; }; isFeeRecoveryEnabled: boolean; eventTicketsEnabled: boolean; donationStatuses: {[statusCode: string]: string}; mode: 'test' | 'live'; gateways: Gateway[]; }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件