wp_count_attachments Wordpress function


Description:

Count number of attachments for the mime type(s).


Syntax:


Arguments:

(string|array) $mime_type Optional. Array or comma-separated list of MIME patterns.


Return Type:

(array) Number of posts for each mime type.


Define At:

wp-includes/post.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/wp_count_attachments


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×