image_sideload_extensions
最后更新于:2021-11-27 01:00:27
apply_filters( ‘image_sideload_extensions’, string[] $allowed_extensions, string $file )
Filters the list of allowed file extensions when sideloading an image from a URL.
参数
- $allowed_extensions
-
(string[])
Array of allowed file extensions. - $file
-
(string)
The URL of the image to download.
源文件
文件: gc-admin/includes/media.php