Exchange Theme API: product (found)

From IThemes Codex
Revision as of 08:04, July 30, 2013 by Kopepasah (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
it_exchange( 'product', '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.

Returns
	Returns boolean value if we have a product or not.

Description

Usually used in a conditional statement to determine if a product is found.

Options

No options.

Usage

<?php if ( it_exchange( 'product', 'found' ) ) : ?>
	...
<?php endif; ?>

Examples

super-widget-product.php - Line 17
Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox