Exchange Theme API: coupons (has-applied)

From IThemes Codex
Revision as of 11:39, August 2, 2013 by Kopepasah (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
it_exchange( 'coupons', 'has-applied' )
	
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 coupons are applied or not.

Description

Used to check if coupons have been applied.

Options

None.

Usage

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