wpseek.com
A WordPress-centric search engine for devs and theme authors



twenty_twenty_one_attachment_size › WordPress Filter Hooks

SinceTwenty Twenty-One 1.0
Deprecatedn/a
apply_filters( 'twenty_twenty_one_attachment_size', 'full' )
Parameters:
  • (string) $image_size Image size. Default 'full'.
    Required: Yes
Defined at:
Codex:

Filter the default image attachment size.





Source

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