wpseek.com
A WordPress-centric search engine for devs and theme authors



file_is_displayable_image › WordPress Filter Hooks

Since2.5.0
Deprecatedn/a
apply_filters( 'file_is_displayable_image', $result, $path )
Parameters: (2)
  • (bool) $result Whether the image can be displayed. Default true.
    Required: Yes
  • (string) $path Path to the image.
    Required: Yes
Defined at:
Codex:

Filters whether the current image is displayable in the browser.





Source

return apply_filters( 'file_is_displayable_image', $result, $path );