do_action( "llms_rest_after_insert_{$this->post_type}", LLMS_Post $object , WP_REST_Request $request , array $schema , bool $creating )
Fires after a single llms post is completely created or updated via the REST API.
Description Description
The dynamic portion of the hook name, $this->post_type
, refers to the post type slug.
Parameters Parameters
- $object
-
(LLMS_Post) Inserted or updated llms object.
- $request
-
(WP_REST_Request) Request object.
- $schema
-
(array) The item schema.
- $creating
-
(bool) True when creating a post, false when updating.
Source Source
File: libraries/lifterlms-rest/includes/abstracts/class-llms-rest-posts-controller.php
Changelog Changelog
Version | Description |
---|---|
1.0.0-beta.7 | Introduced. |