RestroPress

⌘K
  1. Home
  2. Docs
  3. RestroPress
  4. Developer Docs
  5. Filters
  6. rpress_string_is_image

rpress_string_is_image

The rpress_string_is_image filter is applied to use check whether or not the filename is an image. It receives two parameters.
$return -> return a boolean.
$str -> contain file name.

How can we help?