Add phpdoc for $attr argument of wp_get_attachment_image(). props GaryJ. fixes #23791.
git-svn-id: https://develop.svn.wordpress.org/trunk@23714 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f87083c0eb
commit
03aac4585d
|
@ -539,6 +539,7 @@ function wp_get_attachment_image_src($attachment_id, $size='thumbnail', $icon =
|
|||
* @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.
|
||||
* @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