This function has been deprecated. Use ‘learndash_filter_mce_css’ instead.
filter_mce_css( string $mce_css = '' )
Loads editor styles for LearnDash.
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 #
- $mce_css
-
(string) (Optional) Comma-delimited list of stylesheets.
Default value: ''
Return #
(string) Comma-delimited list of stylesheets.
Source #
Changelog #
Version | Description |
---|---|
3.4.0 | Use 'learndash_filter_mce_css' instead. |
2.1.0 | Introduced. This function has been deprecated. Use {@see 'learndash_filter_mce_css'} instead. |