Exchange Theme API: login (rememberme)

From iThemes Codex
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' ); ?>