Astra_Woocommerce::woocommerce_shipping_text()
Adds shipping text after price.
Description
Source
File: inc/compatibility/woocommerce/class-astra-woocommerce.php
public function woocommerce_shipping_text() { if ( astra_get_option( 'single-product-enable-shipping' ) ) { $shipping_text = astra_get_option( 'single-product-shipping-text', false ); if ( false !== $shipping_text ) { echo ' <span class="ast-shipping-text">' . esc_attr( $shipping_text ) . '</span>'; } } }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
3.9.0 | Introduced. |