WordPress at a glance
filter is not described

wp_create_thumbnail filter-hook . WP 1.2.0

Deprecated in 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_3993' );
function filter_function_name_3993( $file ){
	// filter...

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

Список изменений

С версии 1.2.0 Введена.
Устарела с 3.5.0 Use image_resize()

Где вызывается хук

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

Где используется хук в ядре WordPress

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