Manual:Hooks/LinksUpdateConstructed

From MediaWiki.org
Jump to: navigation, search
LinksUpdateConstructed
Available from version 1.11.0
At the end of LinksUpdate() is contruction.
Define function:
public static function onLinksUpdateConstructed( $linksupdate ) { ... }
Attach hook:
$wgHooks['LinksUpdateConstructed'][] = 'MyExtensionHooks::onLinksUpdateConstructed';
Called from: File(s): LinksUpdate.php

For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:LinksUpdateConstructed extensions.


Details[edit | edit source]

  • $linksupdate: the LinksUpdate object

See also[edit | edit source]