wpc_renewal_order

The WooCommerce Putler Connector wpc renewal order function.

Description

wpc_renewal_order( $renewal_order, $subscription ); 

Parameters (2)

0. $renewal_order
The renewal order.
1. $subscription
The subscription.

Usage

  1. if ( !function_exists( 'wpc_renewal_order' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce-putler-connector/woocommerce-putler-connector.php'; 
  3.  
  4. // The renewal order. 
  5. $renewal_order = null; 
  6.  
  7. // The subscription. 
  8. $subscription = null; 
  9.  
  10. // NOTICE! Understand what this does before running. 
  11. $result = wpc_renewal_order($renewal_order, $subscription); 
  12.  

Defined (1)

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

/woocommerce-putler-connector.php  
  1. function wpc_renewal_order( $renewal_order, $subscription ) { 
  2. wpc_post_order( $renewal_order->id ); 
  3. return $renewal_order;