MediaWiki REL1_35
IsValidEmailAddrHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Hook;
4
20 public function onIsValidEmailAddr( $addr, &$result );
21}
onIsValidEmailAddr( $addr, &$result)
Use this hook to override the result of Sanitizer::validateEmail(), for instance to return false if t...