WC_Product_Download::get_previous_hash()publicWC 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.

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.

WC_Product_Download::get_previous_hash() code WC 8.7.0

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