WordPress hook directory
year_link

Description

Applied to the link URL for a yearly archive by the get_year_link function. Filter function arguments: URL, year.

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 year_link

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

Version File Line Type
1.5.2 wp-includes/template-functions-links.php 106 View in context filter
1.5.2 wp-includes/template-functions-links.php 108 View in context filter
2.0 wp-includes/template-functions-links.php 136 View in context filter
2.0 wp-includes/template-functions-links.php 138 View in context filter
2.0.11 wp-includes/template-functions-links.php 138 View in context filter
2.0.11 wp-includes/template-functions-links.php 140 View in context filter
2.1 wp-includes/link-template.php 161 View in context filter
2.1 wp-includes/link-template.php 163 View in context filter
2.2 wp-includes/link-template.php 187 View in context filter
2.2 wp-includes/link-template.php 189 View in context filter
2.3 wp-includes/link-template.php 187 View in context filter
2.3 wp-includes/link-template.php 189 View in context filter
2.5 wp-includes/link-template.php 204 View in context filter
2.5 wp-includes/link-template.php 206 View in context filter
2.6 wp-includes/link-template.php 204 View in context filter
2.6 wp-includes/link-template.php 206 View in context filter
2.7 wp-includes/link-template.php 285 View in context filter
2.7 wp-includes/link-template.php 287 View in context filter
2.8 wp-includes/link-template.php 293 View in context filter
2.8 wp-includes/link-template.php 295 View in context filter
2.9 wp-includes/link-template.php 293 View in context filter
2.9 wp-includes/link-template.php 295 View in context filter
3.0 wp-includes/link-template.php 344 View in context filter
3.0 wp-includes/link-template.php 346 View in context filter
3.1 wp-includes/link-template.php 348 View in context filter
3.1 wp-includes/link-template.php 350 View in context filter
3.2 wp-includes/link-template.php 348 View in context filter
3.2 wp-includes/link-template.php 350 View in context filter
3.3 wp-includes/link-template.php 348 View in context filter
3.3 wp-includes/link-template.php 350 View in context filter
3.4 wp-includes/link-template.php 348 View in context filter
3.4 wp-includes/link-template.php 350 View in context filter
3.5 wp-includes/link-template.php 345 View in context filter
3.5 wp-includes/link-template.php 347 View in context filter
3.6 wp-includes/link-template.php 345 View in context filter
3.6 wp-includes/link-template.php 347 View in context filter
3.7 wp-includes/link-template.php 345 View in context filter
3.7 wp-includes/link-template.php 347 View in context filter
3.8 wp-includes/link-template.php 345 View in context filter
3.8 wp-includes/link-template.php 347 View in context filter
3.9 wp-includes/link-template.php 459 View in context filter
4.0 wp-includes/link-template.php 459 View in context filter
4.1 wp-includes/link-template.php 461 View in context filter
4.2 wp-includes/link-template.php 461 View in context filter
4.3 wp-includes/link-template.php 468 View in context filter
4.4 wp-includes/link-template.php 462 View in context filter
4.5 wp-includes/link-template.php 462 View in context filter
4.6 wp-includes/link-template.php 467 View in context filter
4.7 wp-includes/link-template.php 469 View in context filter
4.8 wp-includes/link-template.php 469 View in context filter
4.9 wp-includes/link-template.php 469 View in context filter
5.0 wp-includes/link-template.php 469 View in context filter
5.1 wp-includes/link-template.php 491 View in context filter

Related Hooks

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