width

width

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

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('width') is found 1 times:

  • /includes/class-wc-product-variation.php line 265
    		$value = $this->get_prop( 'width', $context );
    
    		// Inherit value from parent.
    		if ( 'view' === $context && empty( $value ) ) {
    			$value = apply_filters( $this->get_hook_prefix() . 'width', $this->parent_data['width'], $this );
    		}
    		return $value;
    	}
    
    	/**
    	 * Returns the product height.