Astra_Edd::edd_single_product_class( Array $classes )

Add class on single product page


Description


Parameters

$classes

(Array) (Required) product classes.


Return

(array.)


Source

File: inc/compatibility/edd/class-astra-edd.php

		public function edd_single_product_class( $classes ) {

			$is_edd_archive_page = astra_is_edd_archive_page();

			if ( $is_edd_archive_page ) {
				$classes[] = 'ast-edd-archive-article';
			}

			return $classes;
		}


User Contributed Notes

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