Exchange Theme API: coupons (has-applied)

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