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 #


(string) (Optional) Comma-delimited list of stylesheets.

Default value: ''

Return #

(string) Comma-delimited list of stylesheets.

Source #

File: includes/ld-wp-editor.php

Changelog #

Version Description
2.1.0 Introduced.