Docs: The $size parameter for the get_image_tag_class hook also accepts an array.

See #34257. See [35037].


git-svn-id: https://develop.svn.wordpress.org/trunk@35077 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes 2015-10-12 17:08:39 +00:00
parent 2f5be3afcf
commit 03481541aa

View File

@ -334,11 +334,11 @@ function get_image_tag( $id, $alt, $title, $align, $size = 'medium' ) {
*
* @since 2.6.0
*
* @param string $class CSS class name or space-separated list of classes.
* @param int $id Attachment ID.
* @param string $align Part of the class name for aligning the image.
* @param string $size Size of image. Image size or array of width and height values (in that order).
* Default 'medium'.
* @param string $class CSS class name or space-separated list of classes.
* @param int $id Attachment ID.
* @param string $align Part of the class name for aligning the image.
* @param string|array $size Size of image. Image size or array of width and height values (in that order).
* Default 'medium'.
*/
$class = apply_filters( 'get_image_tag_class', $class, $id, $align, $size );