apply_filters( "llms_get_{$type}_asset_before_prep", array|false $asset, string $handle, string $package_id )

Filter static asset data prior to preparing the definition

Description Description

The definition is "prepared" by merging its data with the default data and preparing its src.

The dynamic portion of this filter, {$type}, refers to the asset type. Either "script" or "style".

Top ↑

Parameters Parameters


(array|false) Array of asset data or false if the asset has not been defined with LifterLMS.


(string) The asset handle.


(string) An ID used to identify the originating plugin or theme that defined the asset.

Top ↑

Source Source

File: includes/class-llms-assets.php

View on GitHub

Top ↑

Changelog Changelog

Version Description
4.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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