wpseek.com
A WordPress-centric search engine for devs and theme authors
rest_after_insert_{$this->post_type} › WordPress Action Hooks
Since5.0.0
Deprecatedn/a
› do_action( "rest_after_insert_{$this->post_type}", $post, $request, true )
Parameters: (3) |
|
Defined at: | |
Codex: |
Fires after a single post is completely created or updated via the REST API.
The dynamic portion of the hook name, $this->post_type
, refers to the post type slug.
Related Functions: wp_after_insert_post, register_post_type, create_initial_post_types, unregister_post_type, set_post_type, _wp_customize_changeset_filter_insert_post_data