llms_get_product_visibility_options()

Get a list of available product (course & membership) catalog visibility options


Return Return

(array)


Top ↑

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' ),
        )
    );


Top ↑

Changelog Changelog

Changelog
Version Description
3.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.