Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
LLMS_Student::insert_status_postmeta( int $product_id, string $status = '', string $trigger = null )
Add a new status record to the user postmeta table for a specific product
Description Description
Parameters Parameters
- $product_id
-
(Required) WP Post ID of the course or membership
- $status
-
(Optional) string describing the new status
Default value: ''
- $trigger
-
(Optional) String describing the reason for enrollment (optional)
Default value: null
Return Return
(boolean)
Source Source
File: includes/models/model.llms.student.php
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |