Exchange/it exchange get option

From IThemes Codex
Revision as of 09:53, June 13, 2013 by Gaarai (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Description

Retrieve options


Default values can be set for any option by adding a filter:

- it_storage_get_defaults_$key

History

Since 0.3.6

Parameters

<?php it_exchange_get_option( $key, $break_cache=false, $merge_defaults=true ); ?>
  • string $key option key
  • boolean $break_cache clear the ITStorage2 cache before returning options?
  • boolean $merge_defaults attempt to merge with default values

Returns

mixed value of passed key

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox