evolve_woocommerce_output_related_products

The evolve evolve woocommerce output related products function.

Description

evolve_woocommerce_output_related_products(); 

Usage

  1. if ( !function_exists( 'evolve_woocommerce_output_related_products' ) ) { 
  2. require_once '/library/woo-config.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = evolve_woocommerce_output_related_products(); 
  7.  

Defined (1)

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

/library/woo-config.php  
  1. function evolve_woocommerce_output_related_products() { 
  2. $args = array( 
  3. 'posts_per_page' => 4,  
  4. 'columns' => 4,  
  5. 'orderby' => 'rand' 
  6. ); 
  7.  
  8. woocommerce_related_products(apply_filters('woocommerce_output_related_products_args', $args));