A WordPress-centric search engine for devs and theme authors



twentytwelve_attachment_size ›

SinceTwenty Twelve 1.0
Deprecatedn/a
apply_filters( 'twentytwelve_attachment_size', array( 960, 960 )
Parameters:
  • (array) $size { @type int The attachment height in pixels. @type int The attachment width in pixels. }
    Required: Yes
Defined at:
Codex:

Filter the image attachment size to use.





Source

$attachment_size = apply_filters( 'twentytwelve_attachment_size', array( 960, 960 ) );