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;
		}

User Contributed Notes

You must log in before being able to contribute a note or feedback.