|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.
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.