ASTRA_Ext_Edd_Markup::post_class( array $classes )

Post Class


Description


Parameters

$classes

(array) (Required) Default argument array.


Return

(array;)


Source

File: addons/edd/classes/class-astra-ext-edd-markup.php

		public function post_class( $classes ) {

			$is_edd_archive_page = astra_is_edd_archive_page();

			if ( $is_edd_archive_page ) {
				// Single product normal & hover box shadow.
				$classes[] = astra_get_option( 'edd-archive-product-align' );
				$classes[] = 'box-shadow-' . astra_get_option( 'edd-archive-product-shadow' );
				$classes[] = 'box-shadow-' . astra_get_option( 'edd-archive-product-shadow-hover' ) . '-hover';
			}

			return $classes;
		}


User Contributed Notes

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