Exchange Theme API: login (register)

From IThemes Codex
Jump to: navigation, search
it_exchange( 'login', 'register', 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 registration link.

Description

Used to output the login's registration link.

Options

'format' - Used to change the format of the output.
	$default: 'html'
	$options: html, url, label
'label' - Used to set the label of the button.
	$default: 'Remember Me'
	$options: Any text.
'class' - Used to set a class for the link.
	$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', 'register' ); ?>
Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox