do_action( "llms_rest_insert_{$type}", object $object, WP_REST_Request $request, array $schema, bool $creating )

Fires after a single llms resource is created or updated via the REST API.


Description Description

The dynamic portion of the hook name, $type, refers to the object type this controller is responsible for managing.


Parameters Parameters

$object

Inserted or updated object.

$request

Request object.

$schema

The item schema.

$creating

True when creating a post, false when updating.


Top ↑

Source Source

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


Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0-beta.12 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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