LLMS_REST_Database_Resource::is_data_valid( array $data )
Validate data supplied for creating/updating a resource.
Parameters Parameters
- $data
-
(array) (Required) Associative array of data to set to a key's properties.
Return Return
(WP_Error|true) When data is invalid will return a WP_Error with information about the invalid properties, otherwise true
denoting data is valid.
Source Source
File: libraries/lifterlms-rest/includes/abstracts/class-llms-rest-database-resource.php
protected function is_data_valid( $data ) { return true; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.0.0-beta.1 | Introduced. |