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;
		}

Changelog

Changelog
Version Description
3.5.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.