width

width

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('width') is found 1 times:

  • /includes/class-wc-product-variation.php line 266
    		$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.