Astra_Beaver_Builder::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/class-astra-beaver-builder.php
public function add_styles( $assets ) {
if ( ! empty( $assets['css'] ) ) {
$assets['css'] = array( 'astra-bb-builder' => 'compatibility/page-builder/bb-plugin' ) + $assets['css'];
}
return $assets;
}
Expand full source code Collapse full source code View on Trac
Changelog
| Version | Description |
|---|---|
| 3.5.0 | Introduced. |