wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



wp_count_attachments › WordPress Filter Hooks

Seit3.7.0
Veraltetn/v
apply_filters( 'wp_count_attachments', (object)
Parameter: (2)
  • () counts An object containing the attachment counts by mime type.
    Erforderlich: Ja
  • () mime_type Array or comma-separated list of MIME patterns.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the attachment counts by mime type.





Quellcode

return apply_filters( 'wp_count_attachments', (object) $counts, $mime_type );