Function CSSCleanup->__construct

Definitions

sources/css_cleanup.php

  • Constructor.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$theme string No No default N/A N/A Theme to operate on
$do_as_overrides boolean No No True N/A N/A Whether to save as overrides
$carry_from_default boolean No No True N/A N/A Whether to copy files from the default theme that are not in the $theme theme already

Preview

Code (PHP)

/**
 * Constructor.
 *
 * @param  string $theme Theme to operate on
 * @param  boolean $do_as_overrides Whether to save as overrides
 * @param  boolean $carry_from_default Whether to copy files from the default theme that are not in the $theme theme already
 */

public function __construct(string $theme = 'default', bool $do_as_overrides = true, bool $carry_from_default = true)