< Manual:Hooks
| GetDoubleUnderscoreIDs | |
|---|---|
| Available from version 1.21.0 Modifying the list of magic words | |
| Define function: | public static function onGetDoubleUnderscoreIDs( &$mDoubleUnderscoreIDs ) { ... }
|
| Attach hook: | In extension.json:
{
"Hooks": {
"GetDoubleUnderscoreIDs": "MyExtensionHooks::onGetDoubleUnderscoreIDs"
}
}
|
| Called from: | File(s): MagicWordFactory.php |
| Interface: | GetDoubleUnderscoreIDsHook.php |
For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:GetDoubleUnderscoreIDs extensions.
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.