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

Filter static asset data prior to enqueueing or registering it with the WordPress core


Description Description

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


Top ↑

Parameters Parameters

$asset

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

$handle

(string) The asset handle.


Top ↑

Source Source

File: includes/class-llms-assets.php

View on GitHub



Top ↑

Changelog 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.