LLMS_Blocks_Assets::define_bc()
Define backwards compatibility assets
Return Return
(void)
Source Source
File: libraries/lifterlms-blocks/includes/class-llms-blocks-assets.php
protected function define_bc() { if ( ! $this->use_bc_assets() ) { return; } $asset = include LLMS_BLOCKS_PLUGIN_DIR . '/assets/js/llms-blocks-backwards-compat.asset.php'; $this->assets->define( 'scripts', array( 'llms-blocks-editor-bc' => array( 'dependencies' => $asset['dependencies'], 'file_name' => 'llms-blocks-backwards-compat', 'version' => $asset['version'], ), ) ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |