wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_ajax_save_attachment › WordPress Action Hooks

Since6.2.0
Deprecatedn/a
do_action( 'wp_ajax_save_attachment', $post, $changes )
Parameters: (2)
  • (array) $post The attachment data.
    Required: Yes
  • (array) $changes An array containing the updated attachment attributes.
    Required: Yes
Defined at:
Codex:

Fires after an attachment has been updated via the Ajax handler and before the JSON response is sent.





Source

do_action( 'wp_ajax_save_attachment', $post, $changes );