Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

WordPress hook directory
the_excerpt

Description

Applied to the post excerpt (or post content, if there is no excerpt) retrieved from the database, prior to printing on the screen (also used in some other operations, such as trackbacks).

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 the_excerpt

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

Version File Line Type
1.2.1 wp-includes/template-functions-post.php 138 View in context filter
1.5.2 wp-includes/functions-post.php 544 View in context filter
1.5.2 wp-includes/template-functions-post.php 96 View in context filter
2.0 wp-includes/functions-post.php 705 View in context filter
2.0 wp-includes/template-functions-post.php 102 View in context filter
2.0.11 wp-includes/functions-post.php 721 View in context filter
2.0.11 wp-includes/template-functions-post.php 105 View in context filter
2.1 wp-includes/comment.php 630 View in context filter
2.1 wp-includes/post-template.php 114 View in context filter
2.2 wp-includes/comment.php 631 View in context filter
2.2 wp-includes/post-template.php 114 View in context filter
2.3 wp-includes/comment.php 651 View in context filter
2.3 wp-includes/post-template.php 136 View in context filter
2.5 wp-includes/comment.php 1049 View in context filter
2.5 wp-includes/post-template.php 137 View in context filter
2.6 wp-includes/comment.php 1108 View in context filter
2.6 wp-includes/post-template.php 137 View in context filter
2.7 wp-includes/comment.php 1337 View in context filter
2.7 wp-includes/post-template.php 238 View in context filter
2.8 wp-includes/comment.php 1351 View in context filter
2.8 wp-includes/post-template.php 244 View in context filter
2.9 wp-includes/comment.php 1578 View in context filter
2.9 wp-includes/post-template.php 237 View in context filter
3.0 wp-includes/comment.php 1643 View in context filter
3.0 wp-includes/post-template.php 240 View in context filter
3.1 wp-includes/comment.php 1705 View in context filter
3.1 wp-includes/post-template.php 250 View in context filter
3.2 wp-includes/comment.php 1716 View in context filter
3.2 wp-includes/post-template.php 250 View in context filter
3.3 wp-includes/comment.php 1710 View in context filter
3.3 wp-includes/post-template.php 250 View in context filter
3.4 wp-includes/comment.php 1718 View in context filter
3.4 wp-includes/post-template.php 247 View in context filter
3.5 wp-includes/comment.php 1757 View in context filter
3.5 wp-includes/post-template.php 249 View in context filter
3.6 wp-includes/comment.php 1754 View in context filter
3.6 wp-includes/post-template.php 254 View in context filter
3.7 wp-includes/comment.php 1771 View in context filter
3.7 wp-includes/post-template.php 254 View in context filter
3.8 wp-includes/comment.php 2123 View in context filter
3.8 wp-includes/post-template.php 254 View in context filter
3.9 wp-includes/comment.php 2104 View in context filter
3.9 wp-includes/post-template.php 317 View in context filter
4.0 wp-includes/comment.php 2209 View in context filter
4.0 wp-includes/post-template.php 328 View in context filter
4.1 wp-includes/comment.php 2496 View in context filter
4.1 wp-includes/post-template.php 327 View in context filter
4.2 wp-includes/comment.php 2715 View in context filter
4.2 wp-includes/post-template.php 336 View in context filter
4.3 wp-includes/comment.php 2816 View in context filter
4.3 wp-includes/post-template.php 342 View in context filter
4.4 wp-includes/comment.php 2210 View in context filter
4.4 wp-includes/post-template.php 343 View in context filter
4.5 wp-includes/comment.php 2311 View in context filter
4.5 wp-includes/post-template.php 353 View in context filter
4.6 wp-includes/comment.php 2316 View in context filter
4.6 wp-includes/post-template.php 362 View in context filter
4.7 wp-includes/comment.php 2497 View in context filter
4.7 wp-includes/post-template.php 362 View in context filter
4.7 wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php 297 View in context filter
4.7 wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php 1414 View in context filter
4.7 wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php 501 View in context filter
4.8 wp-includes/comment.php 2492 View in context filter
4.8 wp-includes/post-template.php 362 View in context filter
4.8 wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php 302 View in context filter
4.8 wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php 1487 View in context filter
4.8 wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php 573 View in context filter
4.9 wp-includes/comment.php 2534 View in context filter
4.9 wp-includes/post-template.php 362 View in context filter
4.9 wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php 296 View in context filter
4.9 wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php 1505 View in context filter
4.9 wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php 558 View in context filter
5.0 wp-includes/comment.php 2536 View in context filter
5.0 wp-includes/post-template.php 362 View in context filter
5.0 wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php 317 View in context filter
5.0 wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php 1528 View in context filter
5.0 wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php 749 View in context filter
5.1 wp-includes/comment.php 2659 View in context filter
5.1 wp-includes/post-template.php 377 View in context filter
5.1 wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php 316 View in context filter
5.1 wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php 1540 View in context filter
5.1 wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php 762 View in context filter

Related Hooks

We find related hooks using word stems. the_excerpt has 1 significant word stem(s): excerpt. Note that some of the hooks below may not appear in all versions of WP.