apply_filters( 'wp_count_attachments', stdClass $counts , string|string[] $mime_type )
Filters the attachment counts by mime type.
Parameters
- $counts
-
An object containing the attachment counts by mime type.
- $mime_type
-
Array or comma-separated list of MIME patterns.
Source
File: wp-includes/post.php
Changelog
Version | Description |
---|---|
3.7.0 | Introduced. |