Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

WordPress hook directory
wp_get_attachment_url

Description

Applied to the attachment URL retrieved by the wp_get_attachment_url function. Filter function arguments: URL, attachment ID.

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 wp_get_attachment_url

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

Version File Line Type
2.1 wp-includes/post.php 1442 View in context filter
2.2 wp-includes/post.php 1448 View in context filter
2.3 wp-includes/post.php 1495 View in context filter
2.5 wp-includes/post.php 2278 View in context filter
2.6 wp-includes/post.php 2408 View in context filter
2.7 wp-includes/post.php 2547 View in context filter
2.8 wp-includes/post.php 2704 View in context filter
2.9 wp-includes/post.php 2989 View in context filter
3.0 wp-includes/post.php 3594 View in context filter
3.1 wp-includes/post.php 3833 View in context filter
3.2 wp-includes/post.php 3918 View in context filter
3.3 wp-includes/post.php 3918 View in context filter
3.4 wp-includes/post.php 3961 View in context filter
3.5 wp-includes/post.php 4218 View in context filter
3.6 wp-includes/post.php 4199 View in context filter
3.7 wp-includes/post.php 4299 View in context filter
3.8 wp-includes/post.php 4309 View in context filter
3.9 wp-includes/post.php 4816 View in context filter
4.0 wp-includes/post.php 4958 View in context filter
4.1 wp-includes/post.php 4959 View in context filter
4.2 wp-includes/post.php 5011 View in context filter
4.3 wp-includes/post.php 5088 View in context filter
4.4 wp-includes/post.php 4901 View in context filter
4.5 wp-includes/post.php 5053 View in context filter
4.6 wp-includes/post.php 4955 View in context filter
4.7 wp-includes/post.php 5072 View in context filter
4.8 wp-includes/post.php 5077 View in context filter
4.9 wp-includes/post.php 5158 View in context filter
5.0 wp-includes/post.php 5365 View in context filter
5.1 wp-includes/post.php 5648 View in context filter

Related Hooks

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