/ Published in: PHP
![](/img/icon_sav.png?v3)
Remove the Attributes in - Tags in the Post/Page Content
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
add_filter( 'post_thumbnail_html', 'remove_thumbnail_dimensions', 10 ); add_filter( 'image_send_to_editor', 'remove_thumbnail_dimensions', 10 ); function remove_thumbnail_dimensions( $html ) { return $html; }
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)