Extension:AbuseFilter/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
$content
: The Content object&$text
: Set this to the desired text.