Astra_Builder_UI_Controller::render_mobile_cart_flyout_markup()
Render Mobile Cart Flyout Markup.
Description
Source
File: inc/builder/controllers/class-astra-builder-ui-controller.php
public static function render_mobile_cart_flyout_markup() { ?> <div class="astra-mobile-cart-overlay"></div> <div id="astra-mobile-cart-drawer" class="astra-cart-drawer open-right"> <div class="astra-cart-drawer-header"> <button type="button" class="astra-cart-drawer-close"> <?php echo self::fetch_svg_icon( 'close' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> </button> <div class="astra-cart-drawer-title"> <?php echo apply_filters( 'astra_header_cart_flyout_shopping_cart_text', __( 'Shopping Cart', 'astra' ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> </div> </div> <div class="astra-cart-drawer-content"> <?php if ( class_exists( 'Astra_Woocommerce' ) ) { the_widget( 'WC_Widget_Cart', 'title=' ); } if ( class_exists( 'Easy_Digital_Downloads' ) ) { the_widget( 'edd_cart_widget', 'title=' ); } ?> </div> </div> <?php }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |