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



twentyeleven_attachment_size › WordPress Filter Hooks

SinceTwenty Eleven 1.0
Deprecatedn/a
apply_filters( 'twentyeleven_attachment_size', 848 )
Parameters:
  • (int) The width for the image attachment size in pixels. Default 848.
    Required: Yes
Defined at:
Codex:

Filters the width for Twenty Eleven's default attachment size.

This edits the image width, and the image height is limited to 1024 pixels.





Source

$attachment_size = apply_filters( 'twentyeleven_attachment_size', 848 );