Automattic\WooCommerce\Admin\Overrides

ThemeUpgraderSkin{}WC 1.0

Admin\Overrides\ThemeUpgraderSkin Class.

No Hooks.

Usage

$ThemeUpgraderSkin = new ThemeUpgraderSkin();
// use class methods

Methods

  1. public after()
  2. public feedback( $string, ...$args )
  3. public footer()
  4. public header()

ThemeUpgraderSkin{} code WC 8.6.1

class ThemeUpgraderSkin extends \Theme_Upgrader_Skin {
	/**
	 * Avoid undefined property error from \Theme_Upgrader::check_parent_theme_filter().
	 *
	 * @var array
	 */
	public $api;

	/**
	 * Hide the skin header display.
	 */
	public function header() {}

	/**
	 * Hide the skin footer display.
	 */
	public function footer() {}

	/**
	 * Hide the skin feedback display.
	 *
	 * @param string $string String to display.
	 * @param mixed  ...$args Optional text replacements.
	 */
	public function feedback( $string, ...$args ) {}

	/**
	 * Hide the skin after display.
	 */
	public function after() {}
}