Exchange Theme API: product (has-featured-image)

From IThemes Codex
Revision as of 17:40, July 30, 2013 by Kopepasah (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
it_exchange( 'product', 'has-featured-image' )
	
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
	Returns boolean value if we have a featured image or not.

Description

Used to check for product featured image.

Options

None.

Examples

<?php if ( it_exchange( 'product', 'has-featured-image' ) ) : ?>
	...
<?php endif; ?>

Usage

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox