메소드 |
설명 |
|
__clone ( ) |
Cloning is forbidden. |
|
__construct ( ) |
Initialize payment gateways. |
|
__wakeup ( ) |
Unserializing instances of this class is forbidden. |
|
get_available_payment_gateways ( ) : array |
Get available gateways. |
|
get_payment_gateway_ids ( ) : array |
Get array of registered gateway ids |
|
init ( ) |
Load gateways and hook in functions. |
|
instance ( ) : WC_Payment_Gateways |
Main WC_Payment_Gateways Instance. |
|
payment_gateways ( ) : array |
Get gateways. |
|
process_admin_options ( ) |
Save options in admin. |
|
set_current_gateway ( $gateways ) |
Set the current, active gateway. |
|