wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



twentyeleven_attachment_size › Hooks de Filtros WordPress

Desden/a
Obsoleton/a
› apply_filters( 'twentyeleven_attachment_size', 848 )
Parâmetros:
  • () size The width for the image attachment size in pixels. Default 848.
    Required: Yes
Definido em:
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.




Fonte

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