Exchange Theme API: login (rememberme)

From iThemes Codex
Revision as of 15:41, 7 August 2013 by Kopepasah (talk | contribs) (Created page with "__NOTOC__ <pre class="brush:php, gutter:false, toolbar:false"> it_exchange( 'login', 'rememberme', array( 'option' => 'value' ) ) Parameters string - $context the context o...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
it_exchange( 'login', 'rememberme', array( 'option' => 'value' ) )
	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.
	The login's remember me input.


Used to output the login's remember me input.


'format' - Used to change the format of the output.
	$default: 'html'
	$options: html, label, field-id, field-name
'label' - Used to set the label of the button.
	$default: 'Remember Me'
	$options: Any text.
'return' - Used to return (instead of echo) the output.
	$default: false
	$options: true, false


<?php it_exchange( 'login', 'rememberme' ); ?>