LLMS_Product::get_catalog_visibility_name()
Retrieve the product’s catalog visibility name for display.
Return Return
(string)
Source Source
File: includes/models/model.llms.product.php
public function get_catalog_visibility_name() { $visibility = $this->get_catalog_visibility(); $options = llms_get_product_visibility_options(); if ( isset( $options[ $visibility ] ) ) { return $options[ $visibility ]; } return $visibility; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.6.0 | Introduced. |