woocommerce_product_is_visible

woocommerce_product_is_visible

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

do_action('woocommerce_product_is_visible') is found 1 times:

  • /includes/abstracts/abstract-wc-product.php line 1628
    1624
    1625
    1626
    1627
    1628
    1629
    1630
    1631
    1632
    1633
    1634
    * @return bool
     */
    public function is_visible() {
        $visible = $this->is_visible_core();
        return apply_filters( 'woocommerce_product_is_visible', $visible, $this->get_id() );
    }
     
    /**
     * Returns whether or not the product is visible in the catalog (doesn't trigger filters).
     *
     * @return bool

See this hook used in plugins: