llms_get_product_visibility_options()
Get a list of available product (course & membership) catalog visibility options
Return Return
(array)
Source Source
File: includes/llms.functions.core.php
*/ function llms_get_product_visibility_options() { /** * Filter the product visibility options * * @since 3.6.0 * * @param array $product_visibility_options. An associative array representing of visibility options. Keys are the engagement type slugs, values are their description. */ return apply_filters( 'lifterlms_product_visibility_options', array( 'catalog_search' => __( 'Catalog & Search', 'lifterlms' ), 'catalog' => __( 'Catalog only', 'lifterlms' ), 'search' => __( 'Search only', 'lifterlms' ), 'hidden' => __( 'Hidden', 'lifterlms' ), ) );
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.6.0 | Introduced. |