Remove Svg Titles

0.0/5
<?php
add_action('wp_head', function(){?>
	<script>
	jQuery(document).ready(function(){
		jQuery('svg > title').remove();
	});
	</script>
<?php });

Comments and reviews

{{ reviewsTotal }} Review
{{ reviewsTotal }} Reviews
{{ options.labels.newReviewButton }}
{{ userData.canReview.message }}

Description

This snippet removes the title element form all svg elements, which prevents them from ever showing up.

Author

Tags

This snippet is untagged