Exchange Theme API: messages (has-notices)

From IThemes Codex
Revision as of 10:19, August 8, 2013 by Kopepasah (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
it_exchange( 'messages', 'has-notices' )

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 we have notices or not.

Description

Used to check if we have any notice messages to display.

Options

None.

Usage

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