tl;dr As of WooCommerce Admin 1.9, the @wordpress/components package is no longer bundled as part of the WooCommerce Admin codebase. The Details …
Developer Advisory: WordPress components no longer bundled with WooCommerce Admin
foreach
$theFiles = [‚cs‘,’js‘,’php‘]; foreach ($theFiles as $ext) $theFile = __DIR__ . ‚/domains/‘ .CLIENT_DOMAIN .‘.‘ .$ext; if (file_exists($theFile)) require_once $theFile;