apply_filters( 'attachment_icon' )
Fired at · 1
wp-includes/deprecated.php:1980get_attachment_icon()
Source
View on Trac ↗View on GitHub ↗
1974 }1975 1976 $post_title = esc_attr($post->post_title);1977 1978 $icon = "<img src='$src' title='$post_title' alt='$post_title' $constraint/>";1979 1980 return apply_filters( 'attachment_icon', $icon, $post->ID );1981}1982 1983/**1984 * Retrieve HTML content of image element.1985 *1986 * @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 6.9.7 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.