woocommerce_gzd_template_order_submit

Adds custom order submit template (at the end of checkout).

Description

woocommerce_gzd_template_order_submit(); 

Usage

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

Defined (1)

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

/includes/wc-gzd-template-functions.php  
  1. function woocommerce_gzd_template_order_submit() { 
  2. wc_get_template( 'checkout/order-submit.php', array( 
  3. 'checkout' => WC()->checkout(),  
  4. 'order_button_text' => apply_filters( 'woocommerce_order_button_text', __( 'Place order', 'woocommerce' ) ) 
  5. ) );