Filter hook 'wp_create_thumbnail'

in WP Core File wp-admin/includes/deprecated.php at line 1137

Description

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

Occurrences

Filename Line Number
wp-admin/includes/deprecated.php 1137

Parameters

Type Name Description
mixed $file Filename of the original image, Or attachment ID.
int $max_side Maximum length of a single side for the thumbnail.
mixed $deprecated Never used.

PHP Doc

/**
 * This was once used to create a thumbnail from an Image given a maximum side size.
 *
 * @since 1.2.0
 * @deprecated 3.5.0 Use image_resize()
 * @see image_resize()
 *
 * @param mixed $file Filename of the original image, Or attachment ID.
 * @param int $max_side Maximum length of a single side for the thumbnail.
 * @param mixed $deprecated Never used.
 * @return string Thumbnail path on success, Error string on failure.
 */