FoxyCart_Helper::fc_hash_value
"Form Method": Generate HMAC SHA256 for form elements or individual <input />s.
Signature
public function fc_hash_value(
$product_code,
$option_name,
[string
$option_value = '',
[string
$method = 'name',
[boolean
$output = true,
[boolean
$urlencode = false]]]] )
Parameters
$product_code
—$option_name
—$option_value
— string$method
— string$output
— boolean$urlencode
— boolean
Returns
- string