wctss_total_orders

The WooCommerce Total Sales Shortcode wctss total orders shortcode.


Usage

  1. // basic usage 
  2. echo do_shortcode('[wctss_total_orders]'); 
  1. // variable usage 
  2. $result = do_shortcode('[wctss_total_orders]'); 
  3. echo $result;  

Defined (1)

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

/includes/class-wctss.php  
  1. protected static $instance = null; 
  2.  
  3. private function __construct() { 
  4.  
  5. add_shortcode( 'wctss_total_sales', array( $this, 'wctss_total_sales_shortcode' ) ); 
  6. add_shortcode( 'wctss_total_orders', array( $this, 'wctss_total_orders_shortcode' ) ); 
  7.  
  8.  
  9. /** 
  10. * Start the Class when called