Exchange Theme API: transaction (product-downloads)

From IThemes Codex
Revision as of 08:23, September 24, 2013 by Kopepasah (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
it_exchange( 'transaction', 'product-downloads' )
	
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
	Grabs a list of all downloads for a specific transaction product.

Description

Intended to be used in a while statement. If used with the has- prefix, it returns a boolean of true/false If it returns true, you may then continue your while loop with the product-download api method.

Options

None.

Usage

<?php while ( it_exchange( 'transaction', 'product-downloads' ) ) : ?>
	...
<?php endwhile; ?>
Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox