WordPress at Your Fingertips
filter is not described

wp_create_thumbnail filter-hook . WP 1.2.0

Deprecated from version 3.5.0. It is no longer supported and can be removed in future releases. Use image_resize() instead.

Deprecated: 3.5.0 Use image_resize()

This was once used to create a thumbnail from an Image given a maximum side size.


add_filter( 'wp_create_thumbnail', 'filter_function_name_1078' );
function filter_function_name_1078( $file ){
	// filter...

	return $file;
Filename of the original image, Or attachment ID.


Deprecated Since 3.5.0 Use image_resize()

Where the hook is called

wp-admin/includes/deprecated.php 1132
return apply_filters( 'wp_create_thumbnail', image_resize( $file, $max_side, $max_side ) );

Where in WP core the hook is used WordPress

Usage not found.