Exchange Theme API: customer (formclose)

From iThemes Codex
Revision as of 16:02, 7 August 2013 by Kopepasah (talk | contribs) (Created page with "__NOTOC__ <pre class="brush:php, gutter:false, toolbar:false"> it_exchange( 'customer', 'formclose', array( 'option' => 'value' ) ) Parameters string - $context the context ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
it_exchange( 'customer', 'formclose', 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 profile page end of form.

Description

Used to close the form for the customer profile page.

Options

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

Usage

<?php it_exchange( 'customer', 'formclose' ); ?>