MediaWiki REL1_39
GetNewMessagesAlertHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Hook;
4
5use OutputPage;
6use User;
7
30 public function onGetNewMessagesAlert( &$newMessagesAlert, $newtalks, $user,
31 $out
32 );
33}
This is one of the Core classes and should be read at least once by any new developers.
internal since 1.36
Definition User.php:70
This is a hook handler interface, see docs/Hooks.md.
onGetNewMessagesAlert(&$newMessagesAlert, $newtalks, $user, $out)
Use this hook to disable or modify the new messages alert.