PK APOCALYPSE V1

APOCALYPSE V1

Current Path : /home/wallqcyy/www/wp-content/plugins/checkout-plugins-stripe-woo/compatibility/
Upload File :
Current File : /home/wallqcyy/www/wp-content/plugins/checkout-plugins-stripe-woo/compatibility/cart-plugin.php

<?php
/**
 * Cart plugin compatibility
 *
 * @package checkout-plugins-stripe-woo
 * @since 1.4.5
 */

namespace CPSW\Compatibility;

use CPSW\Inc\Traits\Get_Instance;
use CPSW\Gateway\Stripe\Payment_Request_Api;

/**
 * Cart plugin class
 */
class Cart_Plugin {

	use Get_Instance;

	/**
	 * Constructor
	 */
	public function __construct() {
		$this->payment_request = Payment_Request_Api::get_instance();
		add_action( 'wcp_slide_out_footer_after', [ $this, 'render_payment_request_button' ] );
	}

	/**
	 * Payment request button render for cart plugin
	 *
	 * @return void
	 */
	public function render_payment_request_button() {
		$this->payment_request->payment_request_button();
	}
}

if you don't want to be vaporized in a nuclear explosion, i simply have to become nuclear myself… i am atomic