WordPress at a glance
function is not described

_wp_post_thumbnail_class_filter_remove() WP 2.9.0

Removes the '_wp_post_thumbnail_class_filter' callback from the 'wp_get_attachment_image_attributes' filter hook. Internal use only.

No Hooks.

Return

Null. Nothing.

Usage

_wp_post_thumbnail_class_filter_remove( $attr );
$attr(array) (required)
Thumbnail attributes including src, class, alt, title.

Changelog

Since 2.9.0 Introduced.

Code of wp post thumbnail class filter remove: wp-includes/media.php WP 5.2.2

<?php
function _wp_post_thumbnail_class_filter_remove( $attr ) {
	remove_filter( 'wp_get_attachment_image_attributes', '_wp_post_thumbnail_class_filter' );
}