Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

WordPress hook directory
wp_update_attachment_metadata

Description

Applied to the attachment metadata just before saving in the wp_update_attachment_metadata function. Filter function arguments: meta data, 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_update_attachment_metadata

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 1424 View in context filter
2.2 wp-includes/post.php 1430 View in context filter
2.3 wp-includes/post.php 1477 View in context filter
2.5 wp-includes/post.php 2248 View in context filter
2.6 wp-includes/post.php 2381 View in context filter
2.7 wp-includes/post.php 2515 View in context filter
2.8 wp-includes/post.php 2668 View in context filter
2.9 wp-includes/post.php 2953 View in context filter
3.0 wp-includes/post.php 3558 View in context filter
3.1 wp-includes/post.php 3800 View in context filter
3.2 wp-includes/post.php 3885 View in context filter
3.3 wp-includes/post.php 3882 View in context filter
3.4 wp-includes/post.php 3925 View in context filter
3.5 wp-includes/post.php 4181 View in context filter
3.6 wp-includes/post.php 4162 View in context filter
3.7 wp-includes/post.php 4262 View in context filter
3.8 wp-includes/post.php 4272 View in context filter
3.9 wp-includes/post.php 4771 View in context filter
4.0 wp-includes/post.php 4902 View in context filter
4.1 wp-includes/post.php 4903 View in context filter
4.2 wp-includes/post.php 4947 View in context filter
4.3 wp-includes/post.php 5025 View in context filter
4.4 wp-includes/post.php 4838 View in context filter
4.5 wp-includes/post.php 4989 View in context filter
4.6 wp-includes/post.php 4891 View in context filter
4.7 wp-includes/post.php 5008 View in context filter
4.8 wp-includes/post.php 5013 View in context filter
4.9 wp-includes/post.php 5093 View in context filter
5.0 wp-includes/post.php 5300 View in context filter
5.1 wp-includes/post.php 5581 View in context filter

Related Hooks

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