LLMS_Admin_Builder::update_custom_schemas( string $type, LLMS_Post_Model $post, array $post_data )
Handle updating custom schema data
Description Description
Parameters Parameters
- $type
-
(Required) Model type (lesson, quiz, etc...).
- $post
-
(Required) LLMS_Post_Model object for the model being updated.
- $post_data
-
(Required) Assoc array of raw data to update the model with.
Return Return
(void)
Source Source
File: includes/admin/class.llms.admin.builder.php
Changelog Changelog
Version | Description |
---|---|
3.30.0 | Array fields will run field values through sanitize_text_field() instead of requiring a custom sanitization callback. |
3.17.0 | Introduced. |