Document that the size parameter in image_downsize() can also be an array. props scribu, fixes #16263.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
eb0c3c6419
commit
bd6fe3c99c
|
@ -125,7 +125,7 @@ function image_hwstring($width, $height) {
|
|||
* resize services.
|
||||
*
|
||||
* @param int $id Attachment ID for image.
|
||||
* @param string $size Optional, default is 'medium'. Size of image, can be 'thumbnail'.
|
||||
* @param array|string $size Optional, default is 'medium'. Size of image, either array or string.
|
||||
* @return bool|array False on failure, array on success.
|
||||
*/
|
||||
function image_downsize($id, $size = 'medium') {
|
||||
|
|
Loading…
Reference in New Issue