Core Function
View Source on Trac ↗ _wp_post_thumbnail_class_filter_remove()
_wp_post_thumbnail_class_filter_remove( mixed $attr ) Removes the '_wp_post_thumbnail_class_filter' callback from the 'wp_get_attachment_image_attributes'
Parameters 1 required
| Name / Type | Description |
|---|---|
| $attr string[] | Array of thumbnail attributes including src, class, alt, title, keyed by attribute name. Required |
Return Value
(void)
No return value description available.
Function Information
Since Version
2.9.0
Source File
wp-includes/media.php
Advertisement