Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
LLMS_Blocks_Assets::define()
Define block plugin assets.
Return Return
(void)
Source Source
File: libraries/lifterlms-blocks/includes/class-llms-blocks-assets.php
private function define() { $asset = include LLMS_BLOCKS_PLUGIN_DIR . '/assets/js/llms-blocks.asset.php'; $this->assets->define( 'scripts', array( 'llms-blocks-editor' => array( 'dependencies' => $asset['dependencies'], 'file_name' => 'llms-blocks', 'version' => $asset['version'], ), ) ); $this->assets->define( 'styles', array( 'llms-blocks-editor' => array( 'dependencies' => array( 'wp-edit-blocks' ), 'file_name' => 'llms-blocks', 'version' => $asset['version'], ), ) ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.10.0 | Introduced. |