-
Bug
-
Resolution: Fixed
-
Minor
-
2.8.6, 2.9
-
MOODLE_28_STABLE, MOODLE_29_STABLE
-
MOODLE_30_STABLE
-
We have a need in one of our plugins to have calls to format_text no apply a particular filter.
So, we want to add a new option 'disablefilters' => 'urltolink,glossary' in the $options array for format_text.
At the same time, I will make a new admin_setting_filter_types admin_setting class, since any time you use this new API, you probably want it to be configurable.
Forum discussion https://moodle.org/mod/forum/discuss.php?d=314695