Astra_Woocommerce::astra_header_cart( String $output, String $section, String $section_type )
Add Cart icon markup
Description
Parameters
- $output
-
(String) (Required) Markup.
- $section
-
(String) (Required) Section name.
- $section_type
-
(String) (Required) Section selected option.
Return
(Markup) String.
Source
File: inc/compatibility/woocommerce/class-astra-woocommerce.php
public function astra_header_cart( $output, $section, $section_type ) { if ( 'woocommerce' === $section_type && apply_filters( 'astra_woo_header_cart_icon', true ) ) { $output = $this->woo_mini_cart_markup(); } return $output; }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |