Astra_Edd::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/edd/class-astra-edd.php
public function astra_header_cart( $output, $section, $section_type ) {
if ( 'edd' === $section_type && apply_filters( 'astra_edd_header_cart_icon', true ) ) {
$output = $this->edd_mini_cart_markup();
}
return $output;
}
Expand full source code Collapse full source code View on Trac
Changelog
| Version | Description |
|---|---|
| 1.5.5 | Introduced. |