function spoiler_filter_tips in Spoiler 5
Same name and namespace in other branches
- 6 spoiler.module \spoiler_filter_tips()
Implementation of hook_filter_tips().
File
- ./
spoiler.module, line 43 - Spoiler module: This module allows users to hide potential "spoiler" content by inserting them between [spoiler][/spoiler] tags. These tags will be converted to HTML by this filter and the relevant CSS rules will set the foreground and…
Code
function spoiler_filter_tips($delta, $format, $long = FALSE) {
return t('<p>Spoilers can be placed between [spoiler][/spoiler] tags in order to be masked using CSS. Users will need to highlight the text to read content.');
}