Exchange Theme API: product (has-description)

From IThemes Codex
Jump to: navigation, search
it_exchange( 'product', 'has-description' )
	
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 description or not.

Description

Used to check for product short description.

Options

None.

Examples

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

Usage

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox