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

The WooCommerce 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 (2)

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

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