Filter: cloudinary_is_media

apply_filters( 'cloudinary_is_media', $is_media, $attachment_id ) → {bool}

Filter the check if post is media.
Parameters:
Name Type Description
$is_media bool Flag if is media.
$attachment_id int The attachment ID.
Since:
  • 2.7.6
Default Value:
  • false
Source:
Returns:
Type
bool