WPDev.one
Core Function
View Source on Trac ↗

_wp_post_thumbnail_class_filter_add()

_wp_post_thumbnail_class_filter_add( mixed $attr )

Adds '_wp_post_thumbnail_class_filter' callback to 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