apply_filters( 'llms_rest_pre_insert_lesson', array $prepared_item , WP_REST_Request $request , array $schema )
Filters a lesson before it is inserted via the REST API.
Parameters Parameters
- $prepared_item
-
(array) Array of lesson item properties prepared for database.
- $request
-
(WP_REST_Request) Full details about the request.
- $schema
-
(array) The item schema.
Source Source
File: libraries/lifterlms-rest/includes/server/class-llms-rest-lessons-controller.php
Changelog Changelog
Version | Description |
---|---|
1.0.0-beta.7 | Introduced. |