Astra_LifterLMS::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/lifterlms/class-astra-lifterlms.php
public function add_styles( $assets ) {
$assets['css']['astra-lifterlms'] = ( ! Astra_Builder_Helper::apply_flex_based_css() ) ? 'compatibility/lifterlms' : 'compatibility/lifterlms-flex';
return $assets;
}
Expand full source code Collapse full source code View on Trac
Changelog
| Version | Description |
|---|---|
| 1.2.0 | Introduced. |