Welcome, visitor! Log in
 

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 3.5.

Version File Line Type
2.1 wp-includes/post.php 1424 View hook in source filter
2.2 wp-includes/post.php 1430 View hook in source filter
2.3 wp-includes/post.php 1477 View hook in source filter
2.5 wp-includes/post.php 2248 View hook in source filter
2.6 wp-includes/post.php 2381 View hook in source filter
2.7 wp-includes/post.php 2515 View hook in source filter
2.8 wp-includes/post.php 2668 View hook in source filter
2.9 wp-includes/post.php 2953 View hook in source filter
3.0 wp-includes/post.php 3558 View hook in source filter
3.1 wp-includes/post.php 3800 View hook in source filter
3.2 wp-includes/post.php 3885 View hook in source filter
3.3 wp-includes/post.php 3882 View hook in source filter
3.4 wp-includes/post.php 3925 View hook in source filter
3.5 wp-includes/post.php 4181 View hook in source 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.