Warning: This method has been deprecated. No longer using filename based hashing to keep track of files instead.
WC_Product_Download::set_previous_hash( string $value )
Set previous_hash.
Description Description
Parameters Parameters
- $value
-
(Required) Previous hash.
Source Source
File: includes/class-wc-product-download.php
public function set_previous_hash( $value ) {
wc_deprecated_function( __FUNCTION__, '3.3' );
$this->data['previous_hash'] = wc_clean( $value );
}
Changelog Changelog
| Version | Description |
|---|---|
| 3.3.0 | Introduced. |