edd_string_is_image_url( string $str )
Checks if the string (filename) provided is an image URL
Description Description
Parameters Parameters
- $str
-
(Required) Filename
Return Return
(bool) Whether or not the filename is an image
Source Source
File: includes/misc-functions.php
Changelog Changelog
Version | Description |
---|---|
1.0 | Introduced. |