apply_filters( 'llms_rest_pre_insert_course', array $prepared_item, WP_REST_Request $request, array $schema )

Filters the course data for a response.


Parameters Parameters

$prepared_item

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

$request

(WP_REST_Request) Full details about the request.

$schema

(array) The item schema.


Top ↑

Source Source

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

View on GitHub



Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0-beta.9 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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