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
595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 | */ 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. |