Function __global->find_all_themes

Definitions

sources/themes2.php

  • Get an array listing all the themes present.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: array

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$needs_themewizard_support boolean No No False N/A N/A Whether to only return Theme Wizard supporting themes

Returns

  • A map of all themes (name=>title) OR if requested a map of theme name to full theme details
  • Type: array
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get an array listing all the themes present.
 *
 * @param  boolean $needs_themewizard_support Whether to only return Theme Wizard supporting themes
 * @return array A map of all themes (name=>title) OR if requested a map of theme name to full theme details
 */

function find_all_themes(bool $needs_themewizard_support = false) : array