Filter hook 'attachment_thumbnail_args'

in WP Core File wp-admin/includes/image.php at line 632

Description

Filters the parameters for the attachment thumbnail creation. }

Occurrences

Filename Line Number
wp-admin/includes/image.php 632

Parameters

Type Name Description
array $image_attachment An array of parameters to create the thumbnail.
array $metadata Current attachment metadata.
array $uploaded { Information about the newly-uploaded file.

PHP Doc

/**
				 * Filters the parameters for the attachment thumbnail creation.
				 *
				 * @since 3.9.0
				 *
				 * @param array $image_attachment An array of parameters to create the thumbnail.
				 * @param array $metadata         Current attachment metadata.
				 * @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.
				 * }
				 */