A WordPress-centric search engine for devs and theme authors



twenty_twenty_one_attachment_size ›

Sincen/a
Deprecatedn/a
apply_filters( 'twenty_twenty_one_attachment_size', 'full' )
Parameters:
  • (string) $image_size Image size. Default 'large'.
    Required: Yes
Defined at:
Codex:

Filter the default image attachment size.





Source

$image_size = apply_filters( 'twenty_twenty_one_attachment_size', 'full' );