Function __global->get_option_with_overrides

Definitions

sources/cns_members_action.php

  • Get a config option, with override support.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: string

Parameters

Name Type Default Set Range Description
$option_name ID_TEXT required parameter N/A N/A The config option
$overrides ?array required parameter N/A N/A Map of config option codenames and overridden values (null: no overrides)

Return

  • Config option value (null: config option disabled or not found)
  • Type: ?ID_TEXT
  • Set: N/A
  • Range: N/A