_wp_post_thumbnail_class_filter_remove

Removes the '_wp_post_thumbnail_class_filter' callback from the 'wp_get_attachment_image_attributes' filter hook.

Description

_wp_post_thumbnail_class_filter_remove( (array) $attr ); 

Internal use only.

Parameters (1)

0. $attr (array)
Thumbnail attributes including src, class, alt, title.

Usage

  1. if ( !function_exists( '_wp_post_thumbnail_class_filter_remove' ) ) { 
  2. require_once ABSPATH . WPINC . '/media.php'; 
  3.  
  4. // Thumbnail attributes including src, class, alt, title. 
  5. $attr = array(); 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = _wp_post_thumbnail_class_filter_remove($attr); 
  9.  

Defined (1)

The function is defined in the following location(s).

/wp-includes/media.php  
  1. function _wp_post_thumbnail_class_filter_remove( $attr ) {