A WordPress-centric search engine for devs and theme authors



intermediate_image_sizes ›

Since2.5.0
Deprecatedn/a
apply_filters( 'intermediate_image_sizes', $default_sizes )
Parameters:
  • (string[]) $default_sizes An array of intermediate image size names. Defaults are 'thumbnail', 'medium', 'medium_large', 'large'.
    Required: Yes
Defined at:
Codex:

Filters the list of intermediate image sizes.





Source

return apply_filters( 'intermediate_image_sizes', $default_sizes );