'https://www.wpdesk.pl/', 'default' => 'https://flexibleinvoices.com/', ]; $requirements = [ 'php' => '7.2', 'wp' => '5.0', 'plugins' => [ [ 'name' => 'woocommerce/woocommerce.php', 'nice_name' => 'WooCommerce', ], ], ]; require __DIR__ . '/vendor_prefixed/wpdesk/wp-plugin-flow-common/src/plugin-init-php52.php'; // Disable free version. if (\PHP_VERSION_ID > 50300 ) { include_once __DIR__ . '/src/PluginDisabler/FlexibleInvoicesFreeDisabler.php'; \WPDesk\FI\FreeDisabler\FlexibleInvoicesFreeDisabler::disable_free(); } if (! function_exists('flexible_invoices_deactivation_translate') ) { register_deactivation_hook($plugin_file, 'flexible_invoices_deactivation_translate'); function flexible_invoices_deactivation_translate() { \WPDeskWCInvoicesVendor\WPDesk\Library\FlexibleInvoicesCore\WordPress\Translator::reset_translations(); } }