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


(array) Array of lesson item properties prepared for database.


(WP_REST_Request) Full details about the request.


(array) The item schema.

Top ↑

Source Source

File: libraries/lifterlms-rest/includes/server/class-llms-rest-lessons-controller.php

View on GitHub

Top ↑

Changelog Changelog

Version Description
1.0.0-beta.7 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.