Exchange Theme API: transactions (found)

From IThemes Codex
Revision as of 10:01, September 24, 2013 by Kopepasah (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
it_exchange( 'transactions', 'found' )

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 transactions are found or not.

Description

Use this function to in a while loop to determine if there are any more transactions left to loop through. If there are no more transactions found, it will return false. Otherwise, it returns 'true'.

Options

None.

Usage

<?php if ( it_exchange( 'transactions', 'found' ) ) : ?>
	...
<?php endif; ?>
Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox