Warning: This function has been deprecated. Use ‘learndash_filter_mce_css’ instead.
filter_mce_css( string $mce_css = '' )
Loads editor styles for LearnDash.
Description Description
Fires on mce_css
hook. We need to add the LD custom CSS to the function parameter. Not replace it see https://codex.wordpress.org/Plugin_API/Filter_Reference/mce_css
Parameters Parameters
- $mce_css
-
(Optional) Comma-delimited list of stylesheets.
Default value: ''
Return Return
(string) Comma-delimited list of stylesheets.
Source Source
File: includes/deprecated/3.4.0/functions.php
Changelog Changelog
Version | Description |
---|---|
3.4.0 | Use 'learndash_filter_mce_css' instead. |
2.1.0 | Introduced. |