WooCommerce Code Reference

CatalogVisibility
in package

Enum class for all the catalog visibility values.

Table of Contents

CATALOG  = 'catalog'
Product is visible on the shop page only.
HIDDEN  = 'hidden'
Product is invisible on both shop and search results, but can still be accessed directly.
SEARCH  = 'search'
Product visible in the search results only.
VISIBLE  = 'visible'
Product is visible on both shop and search results.

Constants

HIDDEN

Product is invisible on both shop and search results, but can still be accessed directly.

public mixed HIDDEN = 'hidden'