LLMS_Shortcodes_Blocks::add_editor_styles()
Loads front end CSS in the editor.
Contents
Return Return
(void)
Source Source
File: includes/shortcodes/class.llms.shortcodes.blocks.php
public static function add_editor_styles(): void {
$plugins_dir = basename( WP_PLUGIN_DIR );
$plugin_dir = basename( LLMS_PLUGIN_DIR );
$rtl = is_rtl() ? '-rtl' : '';
$path = "../../$plugins_dir/$plugin_dir/assets/css/lifterlms{$rtl}.min.css";
add_editor_style( $path );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 7.2.0 | Introduced. |