| 7 | | - The new `wp_ajax_save_attachment_updated` is full equivalent (duplicate?) of using any of the `save_post` hooks and checking where the data comes from by using `if ( doing_action( 'wp_ajax_save-attachment' ) )`. |
| | 7 | - The new `wp_ajax_save_attachment_updated` is full equivalent (duplicate?) of using any of the "save_post" hooks: |
| | 8 | - The `sanitize_post_field()` filters: `pre_{$field}` and `{$field_no_prefix}_save_pre` or `pre_post_{$field}`, and `{$field}_pre`. |
| | 9 | - `wp_insert_post_empty_content`, |
| | 10 | - `wp_insert_attachment_data`, |
| | 11 | - `pre_post_update`, |
| | 12 | - `edit_attachment`, |
| | 13 | - `attachment_updated`, |
| | 14 | |
| | 15 | and checking where the data comes from by using `if ( doing_action( 'wp_ajax_save-attachment' ) )`. |