Update @param docs for wp_get_attachment_image().
see #29869. Built from https://develop.svn.wordpress.org/trunk@29837 git-svn-id: http://core.svn.wordpress.org/trunk@29601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d769e29279
commit
45062d7f5c
|
@ -687,9 +687,9 @@ function wp_get_attachment_image_src($attachment_id, $size='thumbnail', $icon =
|
|||
* @uses wp_get_attachment_image_src() Gets attachment file URL and dimensions
|
||||
*
|
||||
* @param int $attachment_id Image attachment ID.
|
||||
* @param string $size Optional, default is 'thumbnail'.
|
||||
* @param bool $icon Optional, default is false. Whether it is an icon.
|
||||
* @param mixed $attr Optional, attributes for the image markup.
|
||||
* @param string|array $size Optional. Default 'thumbnail'.
|
||||
* @param bool $icon Optional. Whether it is an icon. Default false.
|
||||
* @param string|array $attr Optional. Attributes for the image markup. Default empty string.
|
||||
* @return string HTML img element or empty string on failure.
|
||||
*/
|
||||
function wp_get_attachment_image($attachment_id, $size = 'thumbnail', $icon = false, $attr = '') {
|
||||
|
|
Loading…
Reference in New Issue