Exchange Theme API: login (form-open)

From IThemes Codex
Jump to: navigation, search
it_exchange( 'login', 'form-open', 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 login page start of form.

Description

Used to open the login form.

Options

'redirect' - Used to define where the form redirects to.
	$default: it_exchange_in_superwidget() ? it_exchange_clean_query_args() : it_exchange_get_page_url( 'profile' ),
	$options: A url.
'classes' - Used to define a class for the form.
	$default: false
	$options: Any class name.
'return' - Used to return (instead of echo) the output.
	$default: false
	$options: true, false

Usage

<?php it_exchange( 'login', 'form-open' ); ?>
Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox