WC_Gateway_Paypal_Buttons::__construct
Constructor.
Method of the class: WC_Gateway_Paypal_Buttons{}
No Hooks.
Returns
null. Nothing (null).
Usage
$WC_Gateway_Paypal_Buttons = new WC_Gateway_Paypal_Buttons(); $WC_Gateway_Paypal_Buttons->__construct( $gateway );
- $gateway(WC_Gateway_Paypal) (required)
- The gateway instance.
WC_Gateway_Paypal_Buttons::__construct() WC Gateway Paypal Buttons:: construct code WC 10.7.0
public function __construct( WC_Gateway_Paypal $gateway ) {
$this->buttons = new PayPalButtons( $gateway );
}