Exchange Theme API: transaction (product-download-hashes)

From IThemes Codex
Revision as of 08:54, September 24, 2013 by Kopepasah (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
it_exchange( 'transaction', 'product-download-hashes' )
	
Parameters
	string - $context the context or context.tag combination, if context.tag is used, the tag parameter can be omitted.
	string - $tag the tag, can be hyphenated or not.

Returns
	Sets up a loop of all the hashes generated for a specific download for a specific transaction.

Description

Intended to be used in a loop. You may loop through it with the product_download_hash method once setup. The number of hashes per download will equal the quantity paid for at time of purchase for the transaction See lib/templates/content-downloads/ files for examples.

Options

None.

Usage

<?php it_exchange( 'transaction', 'product-download-hashes' ); ?>
Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox