Exchange Theme API: registration (is-enabled)

From IThemes Codex
Revision as of 11:54, August 14, 2013 by Kopepasah (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
it_exchange( 'registration', 'is-enabled' )

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.

Returns
	Boolean if registration is enabled or not.

Description

Checks if registration is enabled or disabled.

Options

None.

Usage

<?php if ( it_exchange( 'registration', 'is-enabled' ) ) : ?>
	...
<?php endif; ?>
Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox