mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Docs: Various docblock corrections and improvements.
See #49572 git-svn-id: https://develop.svn.wordpress.org/trunk@47461 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -533,7 +533,13 @@ function wp_generate_attachment_metadata( $attachment_id, $file ) {
|
||||
*
|
||||
* @param array $image_attachment An array of parameters to create the thumbnail.
|
||||
* @param array $metadata Current attachment metadata.
|
||||
* @param array $uploaded An array containing the thumbnail path and url.
|
||||
* @param array $uploaded {
|
||||
* Information about the newly-uploaded file.
|
||||
*
|
||||
* @type string $file Filename of the newly-uploaded file.
|
||||
* @type string $url URL of the uploaded file.
|
||||
* @type string $type File type.
|
||||
* }
|
||||
*/
|
||||
$image_attachment = apply_filters( 'attachment_thumbnail_args', $image_attachment, $metadata, $uploaded );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user