woocommerce_gzd_template_order_pay_now_button

Pay now button on success page.

Description

woocommerce_gzd_template_order_pay_now_button( $order_id ); 

Parameters (1)

0. $order_id
The order id.

Usage

  1. if ( !function_exists( 'woocommerce_gzd_template_order_pay_now_button' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce-germanized/includes/wc-gzd-template-functions.php'; 
  3.  
  4. // The order id. 
  5. $order_id = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = woocommerce_gzd_template_order_pay_now_button($order_id); 
  9.  

Defined (1)

The function is defined in the following location(s).

/includes/wc-gzd-template-functions.php  
  1. function woocommerce_gzd_template_order_pay_now_button( $order_id ) { 
  2. WC_GZD_Checkout::instance()->add_payment_link( $order_id );