Fires when a post is created via the REST API.
Parameters
- $post_id
int Post ID.
- $insert
array Data used to build the post.
- $new
string New post URL suffix.
Changelog
- Introduced in Jetpack 2.3.0
rest_api_inserted_postFires when a post is created via the REST API.
intPost ID.
arrayData used to build the post.
stringNew post URL suffix.