LLMS_Admin_Assets::register_quill( $modules = array() )
Register Quill CSS & JS
Description Description
Return Return
(void)
Source Source
File: includes/admin/class.llms.admin.assets.php
public static function register_quill( $modules = array() ) { if ( ! wp_script_is( 'llms-quill', 'registered' ) ) { wp_register_script( 'llms-quill', LLMS_PLUGIN_URL . 'assets/vendor/quill/quill' . LLMS_ASSETS_SUFFIX . '.js', array(), '1.3.5', true ); wp_register_style( 'llms-quill-bubble', LLMS_PLUGIN_URL . 'assets/vendor/quill/quill.bubble' . LLMS_ASSETS_SUFFIX . '.css', array(), '1.3.5', 'screen' ); } foreach ( $modules as $module ) { $url = LLMS_PLUGIN_URL . 'assets/vendor/quill/quill.module.' . $module . LLMS_ASSETS_SUFFIX . '.js'; wp_register_script( 'llms-quill-' . $module, $url, array( 'llms-quill' ), LLMS()->version, true ); } }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.16.0 | Introduced. |
User Contributed Notes User Contributed Notes
Permalink: