Exchange Theme API: cart (form-open)

From IThemes Codex
Jump to: navigation, search
it_exchange( 'cart', 'form-open' )
	
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 opening form field tag for the cart.

Description

Used to open the form field tag for the cart.

Options

'class' - Used to add a custom class to the form field.
	$default: empty
	$options: Any class name.
'return' - Used to return (instead of echo) the output.
	$default: false
	$options: true, false

Usage

<?php it_exchange( 'cart', 'form-open' ); ?>

Examples

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox