WC_Gateway_Paypal::set_instance
Set the instance of the gateway.
Метод класса: WC_Gateway_Paypal{}
Хуков нет.
Возвращает
void. Ничего (null).
Использование
$result = WC_Gateway_Paypal::set_instance( $instance );
- $instance(WC_Gateway_Paypal) (обязательный)
- The instance of the gateway.
Код WC_Gateway_Paypal::set_instance() WC Gateway Paypal::set instance WC 11.3.0
public static function set_instance( $instance ) {
self::$instance = $instance;
}