LLMS_Abstract_Generator_Posts::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.
Return Return
(void)
Source Source
File: includes/abstracts/llms-abstract-generator-posts.php
Changelog Changelog
| Version | Description |
|---|---|
| 4.7.0 | Moved from LLMS_Generator. |
| 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. |