wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes
wp_attachment_is_image › WordPress Function
Depuis2.1.0
Dépréciéen/a
› wp_attachment_is_image ( $post = null )
| Paramètres: |
|
| Retourne: |
|
| Défini(e) dans: |
|
| Codex: | |
| Changelog: |
|
Determines whether an attachment is an image.
For more information on this and similar theme functions, check out the {@link https://developer.wordpress.org/themes/basics/conditional-tags/} article in the Theme Developer Handbook.Fonctions en relation: wp_attachment_is, wp_get_attachment_image, wp_get_attachment_image_src, wp_get_attachment_image_url, wp_get_attachment_image_sizes