LLMS_REST_Database_Resource::is_data_valid( array $data )

Validate data supplied for creating/updating a resource.

Parameters Parameters


(array) (Required) Associative array of data to set to a key's properties.

Top ↑

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.

Top ↑

Source Source

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

	protected function is_data_valid( $data ) {

		return true;


Top ↑

Changelog Changelog

Version Description
1.0.0-beta.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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