WC_Product::is_visible() – Returns whether or not the product is visible in the catalog.

You appear to be a bot. Output may be restricted

Description

Returns whether or not the product is visible in the catalog.

Usage

$bool = WC_Product::is_visible();

Parameters

Returns

bool

Source

File name: woocommerce/includes/abstracts/abstract-wc-product.php
Lines:

1 to 4 of 4
  public function is_visible() {
    $visible = $this->is_visible_core();
    return apply_filters( 'woocommerce_product_is_visible', $visible, $this->get_id() );
  }
 

 View on GitHub View on Trac