<<array>>qtycost<><<array>><qty><cost><><sum>

The WooCommerce MyParcel array qtycost qty cost sum shortcode.


Usage

  1. // assign value 
  2. $array>>qtycost<><><>
  3.  
  4. // basic usage 
  5. echo do_shortcode("[$array>>qtycost<><><>"); 
  1. // assign value 
  2. $array>>qtycost<><><>
  3.  
  4. // variable usage 
  5. $result = do_shortcode("[$array>>qtycost<><><>"); 
  6. echo $result;  

Defined (1)

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

/includes/class-wcmp-export.php  
  1. $this->fee_cost = $args['cost']; 
  2.  
  3. // Expand shortcodes 
  4. add_shortcode( 'fee', array( $this, 'wc_flat_rate_fee' ) ); 
  5.  
  6. $sum = do_shortcode( str_replace( 
  7. array( 
  8. '[qty]',  
  9. '[cost]' 
  10. ),  
  11. array(