wpseek.com
A WordPress-centric search engine for devs and theme authors
rest_insert_attachment › WordPress Action Hooks
Since4.7.0
Deprecatedn/a
› do_action( 'rest_insert_attachment', $attachment, $request, true )
Parameters: (3) |
|
Defined at: | |
Codex: |
Fires after a single attachment is created or updated via the REST API.
Related Functions: wp_insert_attachment, is_attachment, prepend_attachment, get_the_attachment_link, wp_count_attachments, wp_insert_comment