/var/www/html_it/wp-content/plugins/woocommerce/src/Enums/CatalogVisibility.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php

declare( strict_types );

namespace 
Automattic\WooCommerce\Enums;

/**
 * Enum class for all the catalog visibility values.
 */
final class CatalogVisibility {
    
/**
     * Product is visible on both shop and search results.
     *
     * @var string
     */
    
public const VISIBLE 'visible';

    
/**
     * Product is visible on the shop page only.
     */
    
public const CATALOG 'catalog';

    
/**
     * Product visible in the search results only.
     */
    
public const SEARCH 'search';

    
/**
     * Product is invisible on both shop and search results, but can still be accessed directly.
     */
    
public const HIDDEN 'hidden';
}