Browse: Home / Functions /

learndash_filter_mce_css

learndash_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 #

File: includes/ld-wp-editor.php


Changelog #

Changelog
Version Description
2.1.0 Introduced.