catalog_visibility

catalog_visibility

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('catalog_visibility') is found 1 times:

  • /includes/class-wc-product-variation.php line 424
    420
    421
    422
    423
    424
    425
    426
    427
    428
    429
    430
    * @param  string $context What the value is for. Valid values are view and edit.
     * @return string
     */
    public function get_catalog_visibility( $context = 'view' ) {
        return apply_filters( $this->get_hook_prefix() . 'catalog_visibility', $this->parent_data['catalog_visibility'], $this );
    }
     
    /**
     * Get attribute summary.
     *
     * By default, attribute summary contains comma-delimited 'attribute_name: attribute_value' pairs for all attributes.