Exchange Theme API: transaction (has-product-downloads)

From IThemes Codex
Revision as of 16:56, August 5, 2013 by Kopepasah (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
it_exchange( 'transaction', 'has-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
	Boolean if have product downloads or not.

Description

Used to check if we have product downloads.

Options

None.

Usage

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