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
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 | 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. |