woocommerce_output_related_products_args

woocommerce_output_related_products_args

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_output_related_products_args') is found 1 times:

  • /includes/wc-template-functions.php line 2152
    			'columns'        => 4,
    			'orderby'        => 'rand', // @codingStandardsIgnoreLine.
    		);
    
    		woocommerce_related_products( apply_filters( 'woocommerce_output_related_products_args', $args ) );
    	}
    }
    
    if ( ! function_exists( 'woocommerce_related_products' ) ) {
    
    	/**