woocommerce-paypal-payments/modules.php

33 lines
1.1 KiB
PHP
Raw Normal View History

2021-08-27 20:40:09 +03:00
<?php
/**
* The list of modules.
*
* @package WooCommerce\PayPalCommerce
*/
use WooCommerce\PayPalCommerce\PluginModule;
return function ( string $root_dir ): iterable {
$modules_dir = "$root_dir/modules";
$modules = array(
new PluginModule(),
( require "$modules_dir/woocommerce-logging/module.php" )(),
( require "$modules_dir/ppcp-admin-notices/module.php" )(),
( require "$modules_dir/ppcp-api-client/module.php" )(),
( require "$modules_dir/ppcp-button/module.php" )(),
( require "$modules_dir/ppcp-compat/module.php" )(),
( require "$modules_dir/ppcp-onboarding/module.php" )(),
( require "$modules_dir/ppcp-session/module.php" )(),
( require "$modules_dir/ppcp-status-report/module.php" )(),
( require "$modules_dir/ppcp-subscription/module.php" )(),
( require "$modules_dir/ppcp-wc-gateway/module.php" )(),
( require "$modules_dir/ppcp-webhooks/module.php" )(),
2021-09-16 10:21:31 +02:00
( require "$modules_dir/ppcp-vaulting/module.php" )(),
2022-08-11 14:22:16 +04:00
( require "$modules_dir/ppcp-order-tracking/module.php" )(),
2022-12-07 16:52:30 +04:00
( require "$modules_dir/ppcp-uninstall/module.php" )(),
2021-08-27 20:40:09 +03:00
);
return $modules;
};