wpseek.com
WordPress开发者和主题制作者的搜索引擎
image_hwstring › WordPress Function
Since2.5.0
已弃用n/a
› image_hwstring ( $width, $height )
参数: (2) |
|
返回: |
|
定义在: |
|
文档: |
Retrieves width and height attributes using given width and height values.
Both attributes are required in the sense that both parameters must have a value, but are optional in that if you set them to false or null, then they will not be added to the returned string. You can set the value using a string, but it will only take numeric values. If you wish to put 'px' after the numbers, then it will be stripped out of the return.Related Functions: wp_timezone_string, image_resize, get_image_tag, image_add_caption, add_image_size