Manual:Hooks/SiteNoticeAfter

From MediaWiki.org

Jump to: navigation, search
SiteNoticeAfter
Available from version 1.7.0
Used to modify the site notice after it has been created from $wgSiteNotice

*Define function:
function fnMyHook( &$siteNotice ) { ... }

*Attach hook:
$wgHooks['SiteNoticeAfter'][] = 'fnMyHook';
Called from: GlobalFunctions.php

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


[edit] Details

  • $siteNotice: String with HTML for sitenotice