KyleNumann
10/9/2012 - 6:38 PM

wp Hide image title on hover

wp Hide image title on hover

// add to functions.php
add_filter( 'wp_get_attachment_image_attributes', 'remove_image_text');
function remove_image_text( $attr ) {
	unset($attr['alt']);
	unset($attr['title']);
	return $attr;
}