<additional_field_value>

The Booster for WooCommerce additional field value shortcode.


Usage

  1. // assign value 
  2. $additional_field_value = 'dynamic_tag'; 
  3.  
  4. // basic usage 
  5. echo do_shortcode("[$additional_field_value]"); 
  1. // assign value 
  2. $additional_field_value = 'dynamic_tag'; 
  3.  
  4. // variable usage 
  5. $result = do_shortcode("[$additional_field_value]"); 
  6. echo $result;  

Defined (4)

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

/includes/export/class-wcj-exporter-products.php  
  1. $row[] = get_post_meta( $product_id, $additional_field_value, true ); 
  2. } else { 
  3. global $post; 
  4. $post = get_post( $product_id ); 
  5. setup_postdata( $post ); 
  6. $row[] = do_shortcode( $additional_field_value ); 
  7. wp_reset_postdata(); 
  8. } else { 
  9. $row[] = ''; 
/includes/export/class-wcj-exporter-orders.php  
  1. $row[] = $this->safely_get_post_meta( $order_id, $additional_field_value ); 
  2. } else { 
  3. global $post; 
  4. $post = get_post( $order_id ); 
  5. setup_postdata( $post ); 
  6. $row[] = do_shortcode( $additional_field_value ); 
  7. wp_reset_postdata(); 
  8. } else { 
  9. $row[] = ''; 
  1. $row[] = $this->safely_get_post_meta( $order_id, $additional_field_value ); 
  2. } else { 
  3. global $post; 
  4. $post = get_post( $order_id ); 
  5. setup_postdata( $post ); 
  6. $row[] = do_shortcode( $additional_field_value ); 
  7. wp_reset_postdata(); 
  8. } else { 
  9. $row[] = ''; 
  1. $row[] = $this->safely_get_post_meta( $order_id, $additional_field_value ); 
  2. } else { 
  3. global $post; 
  4. $post = get_post( $order_id ); 
  5. setup_postdata( $post ); 
  6. $row[] = do_shortcode( $additional_field_value ); 
  7. wp_reset_postdata(); 
  8. } else { 
  9. $row[] = '';