Text filters
For more information on text filters, take a look at the Moodle documentation at https://docs.moodle.org/dev/Filters. The idea of a filter is that it can transform Moodle text before it is outputted to the screen. For example, text filters are used to transform the code generated by the chemistry and mathematical symbol editor plugins described in the previous section into the actual symbols displayed to the user, or replace a link to a video with an embedded video player.
It is worth noting that text filters are one of the easiest types of plugin to create. It is also worth noting that text filters can cause a big performance hit if we aren't careful with the way they are implemented. Text filters will process every bit of text ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access