ASTRA_Ext_WooCommerce_Markup::add_quick_view_on_img()
Quick view on image
Description
Source
File: addons/woocommerce/classes/class-astra-ext-woocommerce-markup.php
public function add_quick_view_on_img() { global $product; $product_id = $product->get_id(); // Get label. $label = __( 'Quick View', 'astra-addon' ); $button = '<a href="#" class="ast-quick-view-text" data-product_id="' . $product_id . '">' . $label . '</a>'; $button = apply_filters( 'astra_woo_add_quick_view_text_html', $button, $label, $product ); echo $button; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped }
Expand full source code Collapse full source code View on Trac