Validate::sanitize_email( null|string $value = null )
Description #
Sanitize field value and return sanitized url.
Parameters #
- $valuenull | string (Optional) String to sanitize. Default value: null
Source #
File: lib/class-validate.php
public static function sanitize_email( $value = null ) { if ( ! empty( $value ) ) { return sanitize_email( $value ); } }
Expand full source code Collapse full source code View on GitHub: lib/class-validate.php:151
Add your comment