mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Docs: Add @since tag for the $context parameter added to wp_generate_attachment_metadata filter in [46621].
See #48472. git-svn-id: https://develop.svn.wordpress.org/trunk@46622 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -592,6 +592,7 @@ function wp_generate_attachment_metadata( $attachment_id, $file ) {
|
||||
* Filters the generated attachment meta data.
|
||||
*
|
||||
* @since 2.1.0
|
||||
* @since 5.3.0 The `$context` parameter was added.
|
||||
*
|
||||
* @param array $metadata An array of attachment meta data.
|
||||
* @param int $attachment_id Current attachment ID.
|
||||
|
||||
Reference in New Issue
Block a user