Manual:Hooks/SiteNoticeAfter
From MediaWiki.org
| SiteNoticeAfter | |
|---|---|
| Available from version 1.7.0 Used to modify the site notice after it has been created from $wgSiteNotice |
|
Define function: |
public static function onSiteNoticeAfter( &$siteNotice ) { ... }
|
Attach hook: |
$wgHooks['SiteNoticeAfter'][] = 'MyExtensionHooks::onSiteNoticeAfter'; |
| Called from: | Skin.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.
