LLMS_REST_Webhooks_Controller::map_schema_to_database()
Map request keys to database keys for insertion.
Description Description
Array keys are the request fields (as defined in the schema) and array values are the database fields.
Return Return
(array)
Source Source
File: libraries/lifterlms-rest/includes/server/class-llms-rest-webhooks-controller.php
protected function map_schema_to_database() { $map = parent::map_schema_to_database(); // Not inserted/read via database calls. unset( $map['resource'], $map['event'], $map['hooks'] ); return $map; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.0.0-beta.3 | Introduced. |