Exchange Theme API: transaction (product-downloads)

From IThemes Codex
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