Exchange Theme API: cart-item (featured-image)

From IThemes Codex
Revision as of 16:42, August 1, 2013 by Kopepasah (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
it_exchange( 'cart-item', 'featured-image', array( 'option' => 'value' ) )
	
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.
	mixed  - $options associative array, or url-style name=value pairs separated by ampersands (&).
Returns
	The featured image for the cart item.

Description

Used to output the featured image for the cart item.

Options

'size' - Used to sets size of the featued image.
	$default: 'thumbnail'
	$options: thumbnail, large
'return' - Used to return (instead of echo) the output.
	$default: false
	$options: true, false

Usage

<?php it_exchange( 'cart-item', 'featured-image' ); ?>

Examples

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox