Exchange Theme API: cart-item (permalink)

From IThemes Codex
Jump to: navigation, search
it_exchange( 'cart-item', 'permalink', 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. Prefix with 'get' as shorthand for the array( 'return' => 'true' ) option.
	mixed  - $options associative array.
Returns
	The permalink for the cart item.

Description

Used to return the permalink for the cart item.

Options

'return' - Used to return (instead of echo) the output.
	$default: false
	$options: true, false

Usage

<?php it_exchange( 'cart-item', 'permalink' ); ?>
Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox