Used By
Used By | Description |
---|---|
wp-includes/post.php: wp_count_attachments() | Count number of attachments for the mime type(s). |
Modify returned attachment counts by mime type.
(object) An object containing the attachment counts by mime type.
(string) The mime type pattern used to filter the attachments counted.
File: wp-includes/post.php
Version | Description |
---|---|
3.7.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_count_attachments