A WordPress-centric search engine for devs and theme authors



fallback_intermediate_image_sizes ›

Since4.7.0
Deprecatedn/a
apply_filters( 'fallback_intermediate_image_sizes', $fallback_sizes, $metadata )
Parameters: (2)
  • (array) $fallback_sizes An array of image size names.
    Required: Yes
  • (array) $metadata Current attachment metadata.
    Required: Yes
Defined at:
Codex:

Filters the image sizes generated for non-image mime types.





Source

$fallback_sizes = apply_filters( 'fallback_intermediate_image_sizes', $fallback_sizes, $metadata );