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


Description Description


Parameters Parameters

$post_id

(Required) WP Post ID.

$raw

(Required) Raw data.


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/class.llms.generator.php



Top ↑

Changelog 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.

Top ↑

User Contributed Notes User Contributed Notes

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