mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Docs: Various docblock corrections relating to parameter types.
See #51800 git-svn-id: https://develop.svn.wordpress.org/trunk@49692 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2743,10 +2743,9 @@ function wp_count_attachments( $mime_type = '' ) {
|
||||
*
|
||||
* @since 3.7.0
|
||||
*
|
||||
* @param object $counts An object containing the attachment counts by
|
||||
* mime type.
|
||||
* @param string $mime_type The mime type pattern used to filter the attachments
|
||||
* counted.
|
||||
* @param object $counts An object containing the attachment counts by
|
||||
* mime type.
|
||||
* @param string|string[] $mime_type Array or comma-separated list of MIME patterns.
|
||||
*/
|
||||
return apply_filters( 'wp_count_attachments', (object) $counts, $mime_type );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user