Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

WordPress hook directory
prepend_attachment

Description

Applied to the HTML to be prepended by the prepend_attachment function.

This description was scraped automatically from the WordPress filter reference or action reference. If it looks like this is the wrong description, please tell me so I can fix my code.

WordPress version history for prepend_attachment

This database has information for all major versions from WP 1.2.1 through 5.1.

Version File Line Type
2.0 wp-includes/template-functions-post.php 559 View in context filter
2.0.11 wp-includes/template-functions-post.php 570 View in context filter
2.1 wp-includes/post-template.php 435 View in context filter
2.2 wp-includes/post-template.php 451 View in context filter
2.3 wp-includes/post-template.php 476 View in context filter
2.5 wp-includes/post-template.php 513 View in context filter
2.6 wp-includes/post-template.php 514 View in context filter
2.7 wp-includes/post-template.php 963 View in context filter
2.8 wp-includes/post-template.php 1119 View in context filter
2.9 wp-includes/post-template.php 1115 View in context filter
3.0 wp-includes/post-template.php 992 View in context filter
3.1 wp-includes/post-template.php 1192 View in context filter
3.2 wp-includes/post-template.php 1194 View in context filter
3.3 wp-includes/post-template.php 1199 View in context filter
3.4 wp-includes/post-template.php 1200 View in context filter
3.5 wp-includes/post-template.php 1205 View in context filter
3.6 wp-includes/post-template.php 1216 View in context filter
3.7 wp-includes/post-template.php 1229 View in context filter
3.8 wp-includes/post-template.php 1229 View in context filter
3.9 wp-includes/post-template.php 1482 View in context filter
4.0 wp-includes/post-template.php 1545 View in context filter
4.1 wp-includes/post-template.php 1555 View in context filter
4.2 wp-includes/post-template.php 1611 View in context filter
4.3 wp-includes/post-template.php 1646 View in context filter
4.4 wp-includes/post-template.php 1496 View in context filter
4.5 wp-includes/post-template.php 1517 View in context filter
4.6 wp-includes/post-template.php 1524 View in context filter
4.7 wp-includes/post-template.php 1580 View in context filter
4.8 wp-includes/post-template.php 1581 View in context filter
4.9 wp-includes/post-template.php 1589 View in context filter
5.0 wp-includes/post-template.php 1597 View in context filter
5.1 wp-includes/post-template.php 1663 View in context filter

Related Hooks

We find related hooks using word stems. prepend_attachment has 2 significant word stem(s): prepend, attachment. Note that some of the hooks below may not appear in all versions of WP.