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



icon_dir ›

Desde2.0.0
Obsoleto
apply_filters( 'icon_dir', get_template_directory()
Parâmetros: (4)
  • (int) $id Optional. Post ID.
    Required: Yes
  • (bool) $fullsize Optional, default is false. Whether to use full size image.
    Required: Yes
  • (array) $max_dims Optional. Max image dimensions.
    Required: Yes
  • (bool) $permalink Optional, default is false. Whether to include permalink to image.
    Required: Yes
Ver:
  • wp_get_attachment_link()
Retorna:
  • ()
Definido em:
Codex:

Retrieve HTML content of attachment image with link.





Fonte

$icon_dir = apply_filters( 'icon_dir', get_template_directory() . '/images' );