apply_filters( 'wp_count_attachments', object $counts , string $mime_type )
Modify returned attachment counts by mime type.
Description Description
Parameters Parameters
- $counts
-
(object) An object containing the attachment counts by mime type.
- $mime_type
-
(string) The mime type pattern used to filter the attachments counted.
Source Source
File: wp-includes/post.php
Changelog Changelog
Version | Description |
---|---|
3.7.0 | Introduced. |