Exchange Theme API: customer (menu)

From IThemes Codex
Jump to: navigation, search
it_exchange( 'customer', 'menu', 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 customer menu.

Description

Used to output the customer menu on the account pages.

Options

'format' - Used to define the format of the pages.
	$default: 'html'
	$options: html
'pages' - Used to define which pages to display.
	$default: 'profile,purchases,downloads'
	$options: profile, purchases, downloads
'return' - Used to return (instead of echo) the output.
	$default: false
	$options: true, false

Usage

<?php it_exchange( 'customer', 'menu' ); ?>
Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox