WordPress at Your Fingertips
function is not described

WC_Product::is_visible() public WC 1.0

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

{} It's a method of the class: WC_Product{}

Hooks from the method
Return

true|false.

Usage

$WC_Product = new WC_Product();
$WC_Product->is_visible();

Code of WC_Product::is_visible() WC 5.5.2

<?php
public function is_visible() {
	$visible = $this->is_visible_core();
	return apply_filters( 'woocommerce_product_is_visible', $visible, $this->get_id() );
}