Warning: This method has been deprecated. LLMS_Generator::add_custom_values() is deprecated in favor of LLMS_Generator_Courses::add_custom_values instead.
LLMS_Generator::add_custom_values( int $post_id, array $raw )
Add custom data to a post based on the ‘custom’ array
Parameters Parameters
- $post_id
-
(int) (Required) WP Post ID.
- $raw
-
(array) (Required) Raw data.
Return Return
(void)
Source Source
File: includes/class.llms.generator.php
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
4.7.0 | LLMS_Generator::add_custom_values() is deprecated in favor of LLMS_Generator_Courses::add_custom_values . |
3.30.2 | Skip JSON evaluation for non-string values; make publicly accessible. |
3.28.3 | Add extra slashes around JSON strings. |
3.16.11 | Introduced. |