rest_after_insert_{$this->post_type}
Action Hook: Fires after a single post is completely created or updated via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:622
Action Hook: Fires after a single post is completely created or updated via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:622
Method: Get the link relations available for the post and current user.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1810
Method: Retrieve Link Description Objects that should be added to the Schema for the posts collection.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:2235
Method: Check whether the template is valid for the given post.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1198
Method: Get the post, if the ID is valid.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:376
Method: Overwrites the default protected title format.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1675
Method: Prepares links for the request.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1687
Method: Retrieves the post’s schema, conforming to JSON Schema.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1865
Method: Retrieves the query params for the posts collection.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:2361
Filter Hook: Filter collection parameters for the posts controller.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:2545
Method: Sanitizes and validates the list of post statuses, including whether the user can query private statuses.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:2559
Method: Prepares a single post output for response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1432
Filter Hook: Filters the post data for a response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1661
Method: Checks if a given post type can be viewed or managed.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1312
Method: Checks if a post can be read.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1334
Method: Checks if a post can be edited.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1377
Method: Checks if a post can be created.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1395
Method: Checks if a post can be deleted.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1413
Filter Hook: Filters a post before it is inserted via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1124
Method: Determines validity and normalizes the given status parameter.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1137
Method: Determines the featured media based on a request param.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1173
Method: Sets the template for a post.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1236
Method: Updates the post’s terms from a REST request.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1254
Method: Checks whether current user can assign all terms sent with the current request.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1280
Filter Hook: Filters whether a post is trashable.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:820
Action Hook: Fires immediately after a single post is deleted or trashed via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:873
Method: Determines the allowed query_vars for a get_items() response and prepares them for WP_Query.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:888
Filter Hook: Filters the query_vars used in get_items() for the constructed query.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:901
Method: Checks the post_date_gmt or modified_gmt and prepare any post or modified date for single post output.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:935
Method: Prepares a single post for create or update.
Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:958