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



wp_mime_type_icon › WordPress Filter Hooks

Da2.1.0
Deprecaton/a
› apply_filters( 'wp_mime_type_icon', $icon, $mime, $post_id )
Parametri: (3)
  • () icon URL of the mime type icon, or false if no icon was found.
    Richiesto: Sì
  • () mime Mime type, or 0 if no post was found for the passed ID.
    Richiesto: Sì
  • () post_id Attachment ID. Will equal 0 if the function passed the mime type or no post was found for the passed ID.
    Richiesto: Sì
Definito a:
Codex:

Filters the mime type icon.





Sorgenti

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