_wp_filter_image_sizes_additional_mime_type_support


_wp_filter_image_sizes_additional_mime_type_support ( $sizes, $attachment_id )

Parameters:
  • (array) sizes Associative array of image sizes.
  • (int) attachment_id Attachment ID.
Returns:
  • (array) $sizes Filtered $sizes with only those that support secondary mime type output.
Defined at:

Description

Filters the list of image size objects that support secondary mime type output.

Related Functions

_wp_make_additional_mime_types, _wp_get_primary_and_additional_mime_types, wp_image_use_alternate_mime_types, wp_image_editor_supports, _wp_get_image_size_from_meta

Top Google Results

User discussions

wpseek mobile