Astra_Woocommerce::related_products_args( array $args )
Update woocommerce related product numbers
Description
Parameters
- $args
-
(array) (Required) Related products array.
Return
(array)
Source
File: inc/compatibility/woocommerce/class-astra-woocommerce.php
public function related_products_args( $args ) { $col = astra_get_option( 'shop-grids' ); $args['posts_per_page'] = $col['desktop']; return $args; }
Expand full source code Collapse full source code View on Trac