llms_get_post_sales_page_content( WP_Post $post, string $default = '' )
Retrieve the sales page content for a course or membership
Description Description
By default only courses and memberships support sales pages, the meta property must be set to content
or an empty string, and the post must have a post_excerpt
property value.
Parameters Parameters
- $post
-
(Required) The post object.
- $default
-
(Optional) Default content to use when no override content can be found.
Default value: ''
Return Return
(string)
Source Source
File: includes/functions/llms-functions-content.php
Changelog Changelog
Version | Description |
---|---|
4.17.0 | Introduced. |