wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



wp_mime_type_icon › Les Filtres WordPress

Depuis2.1.0
Dépréciéen/a
› apply_filters( 'wp_mime_type_icon', $icon, $mime, $post_id )
Paramètres: (3)
  • () icon URL of the mime type icon, or false if no icon was found.
    Requis: Oui
  • () mime Mime type, or 0 if no post was found for the passed ID.
    Requis: Oui
  • () post_id Attachment ID. Will equal 0 if the function passed the mime type or no post was found for the passed ID.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the mime type icon.





Source

return apply_filters( 'wp_mime_type_icon', $icon, $mime, $post_id );