Astra_LearnDash::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/learndash/class-astra-learndash.php
public function add_styles( $assets ) {
$assets['css']['astra-learndash'] = 'compatibility/learndash';
return $assets;
}
Expand full source code Collapse full source code View on Trac
Changelog
| Version | Description |
|---|---|
| 1.3.0 | Introduced. |