MediaWiki master
IsValidEmailAddrHook.php
Go to the documentation of this file.
1<?php
2
4
23 public function onIsValidEmailAddr( $addr, &$result );
24}
25
27class_alias( IsValidEmailAddrHook::class, 'MediaWiki\\Hook\\IsValidEmailAddrHook' );
This is a hook handler interface, see docs/Hooks.md.
onIsValidEmailAddr( $addr, &$result)
Use this hook to override the result of Sanitizer::validateEmail(), for instance to return false if t...