Summery Summery
Check whether a file path is of a permitted type.
Syntax Syntax
Description Description
Used to reject URLs and phar files from functions that access local file paths, such as addAttachment.
Parameters Parameters
- $path
-
(Required) A relative or absolute path to a file.
Return Return
(bool)
Source Source
File: wp-includes/class-phpmailer.php