LLMS_Shortcodes_Blocks::enqueue_editor_styles()
Enqueues editor styles.
Return Return
(void)
Source Source
File: includes/shortcodes/class.llms.shortcodes.blocks.php
public static function enqueue_editor_styles(): void {
if ( ! llms_is_block_editor() ) {
return;
}
$path = '/assets/css/editor.min.css';
if ( ! file_exists( LLMS()->plugin_path() . $path ) ) {
return;
}
wp_enqueue_style(
'llms-editor',
LLMS()->plugin_url() . $path,
array(),
filemtime( LLMS()->plugin_path() . $path )
);
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 7.2.0 | Introduced. |