WordPress at a glance
function is not described

Composer\Installers

MicroweberInstaller::inflectSkinVars() protected WC 1.0

{} It's a method of the class: MicroweberInstaller{}

No Hooks.

Return

null. Nothing.

Usage

// protected - for code of main (parent) or child class
$result = $this->inflectSkinVars( $vars );
$vars (required)
-

Code of MicroweberInstaller::inflectSkinVars() WC 5.2.2

<?php
protected function inflectSkinVars($vars)
{
    $vars['install_item_dir'] = preg_replace('/-skin$/', '', $vars['install_item_dir']);
    $vars['install_item_dir'] = preg_replace('/skin-$/', '', $vars['install_item_dir']);

    return $vars;
}