Exchange Theme API: checkout (cancel)

From IThemes Codex
Jump to: navigation, search
it_exchange( 'checkout', 'cancel', 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
	data/html for cancel action

Description

Used to display the cancel action for the checkout process.

Options

'before' - Add html before the output cancel checkout action.
	$default: empty
	$options: Any valid html.
'after' - Add html after the output cancel checkout action.
	$default: empty
	$options: Any valid html.
'format' - Add html before the output cancel checkout action.
	$default: 'link'
	$options: link
'label' - The label for the link.
	$default: 'Cancel'
	$options: Any valid text.
'class' - Add a class to the link.
	$default: empty
	$options: Any valid class name.
'focus' - Used for setting the focus when the link is in the super widget.
	$default: false
	$options: true, false
'return' - Used to return (instead of echo) the output.
	$default: false
	$options: true, false

Usage

<?php it_exchange( 'checkout', 'cancel' ); ?>
Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox