Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

WordPress hook directory
attachment_fields_to_save

Description

Applied to fields associated with an attachment prior to saving them in the database. Called in the media_upload_form_handler function. Filter function arguments: an array of post attributes, an array of attachment fields including the changes submitted from the form.

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 attachment_fields_to_save

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

Version File Line Type
2.5 wp-admin/includes/media.php 226 View in context filter
2.6 wp-admin/includes/media.php 263 View in context filter
2.7 wp-admin/includes/media.php 385 View in context filter
2.8 wp-admin/includes/media.php 407 View in context filter
2.9 wp-admin/includes/media.php 409 View in context filter
3.0 wp-admin/includes/media.php 430 View in context filter
3.1 wp-admin/includes/media.php 436 View in context filter
3.2 wp-admin/includes/media.php 458 View in context filter
3.3 wp-admin/includes/media.php 441 View in context filter
3.4 wp-admin/includes/media.php 450 View in context filter
3.5 wp-admin/includes/ajax-actions.php 1929 View in context filter
3.5 wp-admin/includes/media.php 467 View in context filter
3.5 wp-admin/includes/post.php 239 View in context filter
3.6 wp-admin/includes/ajax-actions.php 1914 View in context filter
3.6 wp-admin/includes/media.php 517 View in context filter
3.6 wp-admin/includes/post.php 265 View in context filter
3.7 wp-admin/includes/ajax-actions.php 2006 View in context filter
3.7 wp-admin/includes/media.php 517 View in context filter
3.7 wp-admin/includes/post.php 274 View in context filter
3.8 wp-admin/includes/ajax-actions.php 2002 View in context filter
3.8 wp-admin/includes/media.php 517 View in context filter
3.8 wp-admin/includes/post.php 274 View in context filter
3.9 wp-admin/includes/ajax-actions.php 1946 View in context filter
3.9 wp-admin/includes/media.php 624 View in context filter
3.9 wp-admin/includes/post.php 313 View in context filter
4.0 wp-admin/includes/ajax-actions.php 2292 View in context filter
4.0 wp-admin/includes/media.php 633 View in context filter
4.0 wp-admin/includes/post.php 313 View in context filter
4.1 wp-admin/includes/ajax-actions.php 2296 View in context filter
4.1 wp-admin/includes/media.php 657 View in context filter
4.1 wp-admin/includes/post.php 314 View in context filter
4.2 wp-admin/includes/ajax-actions.php 2348 View in context filter
4.2 wp-admin/includes/media.php 658 View in context filter
4.2 wp-admin/includes/post.php 314 View in context filter
4.3 wp-admin/includes/ajax-actions.php 2386 View in context filter
4.3 wp-admin/includes/media.php 662 View in context filter
4.3 wp-admin/includes/post.php 316 View in context filter
4.4 wp-admin/includes/ajax-actions.php 2485 View in context filter
4.4 wp-admin/includes/media.php 668 View in context filter
4.4 wp-admin/includes/post.php 316 View in context filter
4.5 wp-admin/includes/ajax-actions.php 2495 View in context filter
4.5 wp-admin/includes/media.php 672 View in context filter
4.5 wp-admin/includes/post.php 316 View in context filter
4.6 wp-admin/includes/ajax-actions.php 2538 View in context filter
4.6 wp-admin/includes/media.php 674 View in context filter
4.6 wp-admin/includes/post.php 323 View in context filter
4.7 wp-admin/includes/ajax-actions.php 2529 View in context filter
4.7 wp-admin/includes/media.php 682 View in context filter
4.7 wp-admin/includes/post.php 325 View in context filter
4.8 wp-admin/includes/ajax-actions.php 2586 View in context filter
4.8 wp-admin/includes/media.php 682 View in context filter
4.8 wp-admin/includes/post.php 325 View in context filter
4.9 wp-admin/includes/ajax-actions.php 2591 View in context filter
4.9 wp-admin/includes/media.php 683 View in context filter
4.9 wp-admin/includes/post.php 324 View in context filter
5.0 wp-admin/includes/ajax-actions.php 2589 View in context filter
5.0 wp-admin/includes/media.php 683 View in context filter
5.0 wp-admin/includes/post.php 324 View in context filter
5.1 wp-admin/includes/ajax-actions.php 2884 View in context filter
5.1 wp-admin/includes/media.php 729 View in context filter
5.1 wp-admin/includes/post.php 387 View in context filter
5.2 wp-admin/includes/ajax-actions.php 2894 View in context filter
5.2 wp-admin/includes/media.php 729 View in context filter
5.2 wp-admin/includes/post.php 387 View in context filter
5.3 wp-admin/includes/ajax-actions.php 3091 View in context filter
5.3 wp-admin/includes/media.php 765 View in context filter
5.3 wp-admin/includes/post.php 389 View in context filter
5.4 wp-admin/includes/ajax-actions.php 3095 View in context filter
5.4 wp-admin/includes/media.php 765 View in context filter
5.4 wp-admin/includes/post.php 391 View in context filter
5.5 wp-admin/includes/ajax-actions.php 3119 View in context filter
5.5 wp-admin/includes/media.php 762 View in context filter
5.5 wp-admin/includes/post.php 401 View in context filter
5.6 wp-admin/includes/ajax-actions.php 3120 View in context filter
5.6 wp-admin/includes/media.php 764 View in context filter
5.6 wp-admin/includes/post.php 401 View in context filter
5.7 wp-admin/includes/ajax-actions.php 3119 View in context filter
5.7 wp-admin/includes/media.php 766 View in context filter
5.7 wp-admin/includes/post.php 401 View in context filter
5.8 wp-admin/includes/ajax-actions.php 3134 View in context filter
5.8 wp-admin/includes/media.php 771 View in context filter
5.8 wp-admin/includes/post.php 405 View in context filter
5.9 wp-admin/includes/ajax-actions.php 3146 View in context filter
5.9 wp-admin/includes/media.php 769 View in context filter
5.9 wp-admin/includes/post.php 408 View in context filter
6.0 wp-admin/includes/ajax-actions.php 3156 View in context filter
6.0 wp-admin/includes/media.php 778 View in context filter
6.0 wp-admin/includes/post.php 408 View in context filter
6.1 wp-admin/includes/ajax-actions.php 3186 View in context filter
6.1 wp-admin/includes/media.php 783 View in context filter
6.1 wp-admin/includes/post.php 408 View in context filter
6.2 wp-admin/includes/ajax-actions.php 3186 View in context filter
6.2 wp-admin/includes/media.php 783 View in context filter
6.2 wp-admin/includes/post.php 421 View in context filter

Related Hooks

We find related hooks using word stems. attachment_fields_to_save has 4 significant word stem(s): attachment, fields, to, save. Note that some of the hooks below may not appear in all versions of WP.