'; echo wp_kses_post( the_excerpt() ); echo ''; } } /** * Parent Category. * * @since 1.1.0 */ public function woo_shop_parent_category() { if ( apply_filters( 'uael_woo_shop_parent_category', true ) ) : ?> get_categories( ',', '', '' ); $product_categories = wp_strip_all_tags( $product_categories ); if ( $product_categories ) { list( $parent_cat ) = explode( ',', $product_categories ); echo esc_html( $parent_cat ); } ?> get_gallery_image_ids(); if ( $attachment_ids ) { $image_size = apply_filters( 'single_product_archive_thumbnail_size', 'shop_catalog' ); $swap_images = apply_filters( 'uael_woocommerce_product_flip_image', wp_get_attachment_image( reset( $attachment_ids ), $image_size, false, array( 'class' => 'uael-show-on-hover' ) ) ); echo wp_kses_post( $swap_images ); } } }