Exchange Theme API: cart (form-close)

From IThemes Codex
Revision as of 14:43, July 31, 2013 by Kopepasah (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
it_exchange( 'cart', 'form-close' )
	
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 closing form field tag for the cart.

Description

Used to close the form field tag for the cart.

Options

'before' - Used to add a html just before the closing form field.
	$default: empty
	$options: Any valid html.
'after' - Used to add a html just after the closing form field.
	$default: empty
	$options: Any valid html.
'include-nonce' - Used to include a nonce field for the form.
	$default: true
	$options: true, false
'return' - Used to return (instead of echo) the output.
	$default: false
	$options: true, false

Usage

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

Examples

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox