MediaWiki master
IsValidEmailAddrHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Hook;
4
23 public function onIsValidEmailAddr( $addr, &$result );
24}
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...