LLMS_Blocks_Post_Instructors::update_callback( string $value, WP_Post $object, string $key )
Update instructor information for a given object.
Description Description
Parameters Parameters
- $value
-
(Required) Instructor data to add to the object (JSON).
- $object
-
(Required) WP_Post object.
- $key
-
(Required) name of the field.
Return Return
(null|WP_Error)
Source Source
File: libraries/lifterlms-blocks/includes/class-llms-blocks-post-instructors.php
Changelog Changelog
Version | Description |
---|---|
1.7.1 | Decode JSON prior to saving. |
1.0.0 | Introduced. |