wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



twentyeleven_attachment_size › WordPress Filter Hooks

Dan/a
Deprecaton/a
› apply_filters( 'twentyeleven_attachment_size', 848 )
Parametri:
  • () size The width for the image attachment size in pixels. Default 848.
    Richiesto: Sì
Definito a:
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.




Sorgenti

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