Extension:AbuseFilter/Hooks/AbuseFilter-contentToString
Appearance
(Redirected from Manual:Hooks/AbuseFilter-contentToString)
For more information about attaching hooks, see Manual:Hooks.
For examples of other extensions using this hook, see Category:AbuseFilter-contentToString extensions.
If the hook function returns true, Content::getTextForSearchIndex() will be used for non-text content.
Parameters
[edit]$content: The Content object&$text: Set this to the desired text.