WordPress at a glance
filter is not described

attachment_thumbnail_args filter-hook . WP 3.9.0

Filters the parameters for the attachment thumbnail creation.


add_filter( 'attachment_thumbnail_args', 'filter_function_name_6521', 10, 3 );
function filter_function_name_6521( $image_attachment, $metadata, $uploaded ){
	// filter...

	return $image_attachment;
An array of parameters to create the thumbnail.
Current attachment metadata.
An array containing the thumbnail path and url.

Where the hook is called

wp-admin/includes/image.php 209
$image_attachment = apply_filters( 'attachment_thumbnail_args', $image_attachment, $metadata, $uploaded );

Where the hook is used (in WP core)

Использование не найдено.