apply_filters( 'attachment_icon' )
Fired at · 1
wp-includes/deprecated.php:1983get_attachment_icon()
Source
View on Trac ↗View on GitHub ↗
1977 }1978 1979 $post_title = esc_attr($post->post_title);1980 1981 $icon = "<img src='$src' title='$post_title' alt='$post_title' $constraint/>";1982 1983 return apply_filters( 'attachment_icon', $icon, $post->ID );1984}1985 1986/**1987 * Retrieve HTML content of image element.1988 *1989 * @since 2.0.0
History
Unchanged from 6.7.7 through 7.1.0.
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.0.4 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.