What’s the proper way to use the get_image_tag filter?
I’m attempting to remove the title attribute for post thumbnails (on certain posts), and I assume the get_image_tag filter is the way to do this. However, what I’ve got so far isn’t working. What do I need to change to make this work? My code: add_filter(‘get_image_tag’, ‘image_no_title’); function image_no_title($title) { $title=””; return $title; } And … Read more