Astra_Edd::add_styles( array $assets )
Add assets in theme
Description
Parameters
- $assets
-
(array) (Required) list of theme assets (JS & CSS).
Return
(array) List of updated assets.
Source
File: inc/compatibility/edd/class-astra-edd.php
public function add_styles( $assets ) {
$assets['css']['astra-edd'] = Astra_Builder_Helper::apply_flex_based_css() ? 'compatibility/edd-grid' : 'compatibility/edd';
return $assets;
}
Expand full source code Collapse full source code View on Trac
Changelog
| Version | Description |
|---|---|
| 1.5.5 | Introduced. |