WordPress at Your Fingertips
function is not described

WC_Product_Download::get_previous_hash() public WC 1.0

Deprecated from version 3.3.0 No longer using filename based hashing to keep track of files.. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

Get previous_hash.

{} It's a method of the class: WC_Product_Download{}

No Hooks.

Return

String.

Usage

$WC_Product_Download = new WC_Product_Download();
$WC_Product_Download->get_previous_hash();

Changelog

Deprecated Since 3.3.0 No longer using filename based hashing to keep track of files.

Code of WC_Product_Download::get_previous_hash() WC 5.6.0

public function get_previous_hash() {
	wc_deprecated_function( __FUNCTION__, '3.3' );
	return $this->data['previous_hash'];
}