Function __global->get_submitted_config_value

Definitions

sources/config2.php

  • Get the submitted value for a config option.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$name string No No required parameter N/A N/A Option name
$details array No No required parameter N/A N/A Option details
$theme_wizard boolean No No False N/A N/A Whether this value was submitted on the theme wizard screen

Returns

  • Value
  • Type: string
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get the submitted value for a config option.
 *
 * @param  string $name Option name
 * @param  array $details Option details
 * @param  boolean $theme_wizard Whether this value was submitted on the theme wizard screen
 * @return string Value
 */

function get_submitted_config_value(string $name, array $details, bool $theme_wizard = false) : string