Function __global->actual_add_theme

Definitions

sources/themes3.php

  • Add a theme.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$name ID_TEXT No No required parameter N/A N/A The theme name
$include_themeini boolean No No True N/A N/A Whether to create theme.ini

Preview

Code (PHP)

/**
 * Add a theme.
 *
 * @param  ID_TEXT $name The theme name
 * @param  boolean $include_themeini Whether to create theme.ini
 */

function actual_add_theme(string $name, bool $include_themeini = true)