Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function image_hwstring_px($width, $height) {
- $hwstring = '';
- if ($width)
- $hwstring .= 'width="'.intval($width).'px" ';
- if ($height)
- $hwstring .= 'height="'.intval($height).'px" ';
- return $hwstring;
- }
- apply_filters('get_image_tag','image_hwstring_px');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement