ASTRA_Ext_Edd_Markup::astra_edd_mini_cart_markup( array $atts )
Mini Cart shortcode astra_edd_mini_cart
mrakup.
Description
Parameters
- $atts
-
(array) (Required) Shortcode atts.
Return
(html)
Source
File: addons/edd/classes/class-astra-ext-edd-markup.php
public function astra_edd_mini_cart_markup( $atts ) { $atts = shortcode_atts( array( 'direction' => 'bottom left', ), $atts ); $output = ''; $astra_edd_instance = Astra_Edd::get_instance(); if ( method_exists( $astra_edd_instance, 'edd_mini_cart_markup' ) ) { $output = '<div class="ast-edd-mini-cart-wrapper ast-edd-mini-cart-dir ' . esc_attr( $atts['direction'] ) . '">'; $output .= $astra_edd_instance->edd_mini_cart_markup(); $output .= '</div>'; } return $output; }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
1.6.10 | Introduced. |