PluginProbe ʕ •ᴥ•ʔ
WooCommerce PayPal Payments / 3.3.2
WooCommerce PayPal Payments v3.3.2
4.0.4 4.0.3 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.1.0 1.2.0 1.2.1 1.3.0 1.3.1 1.3.2 1.4.0 1.5.0 1.5.1 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.7.0 1.7.1 1.8.0 1.8.1 1.9.0 1.9.1 1.9.2 1.9.3 1.9.4 1.9.5 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.1.0 2.2.0 2.2.1 2.2.2 2.3.0 2.3.1 2.4.0 2.4.1 2.4.2 2.4.3 2.5.0 2.5.1 2.5.2 2.5.3 2.5.4 2.6.0 2.6.1 2.7.0 2.7.1 2.8.0 2.8.1 2.8.2 2.8.3 2.9.0 2.9.1 2.9.2 2.9.3 2.9.4 2.9.5 2.9.6 3.0.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 3.1.2 3.2.0 3.2.1 3.3.0 3.3.1 3.3.2 3.4.0 3.4.1 4.0.0 4.0.1 4.0.2
woocommerce-paypal-payments / modules / ppcp-uninstall / extensions.php
woocommerce-paypal-payments / modules / ppcp-uninstall Last commit date
assets 1 year ago src 1 year ago extensions.php 1 year ago module.php 1 year ago services.php 7 months ago
extensions.php
18 lines
1 <?php
2
3 /**
4 * The uninstall module extensions.
5 *
6 * @package WooCommerce\PayPalCommerce\Uninstall
7 */
8 declare (strict_types=1);
9 namespace WooCommerce\PayPalCommerce\Uninstall;
10
11 use WooCommerce\PayPalCommerce\Onboarding\State;
12 use WooCommerce\PayPalCommerce\Vendor\Psr\Container\ContainerInterface;
13 use WooCommerce\PayPalCommerce\WcGateway\Settings\Settings;
14 return array('wcgateway.settings.fields' => static function (array $fields, ContainerInterface $container): array {
15 $uninstall_fields = array('uninstall_heading' => array('heading' => __('Uninstall/Clear Database', 'woocommerce-paypal-payments'), 'type' => 'ppcp-heading', 'screens' => array(State::STATE_ONBOARDED), 'requirements' => array(), 'gateway' => Settings::CONNECTION_TAB_ID, 'description' => __('Manage plugin data and scheduled actions stored in database.', 'woocommerce-paypal-payments')), 'uninstall_clear_db_on_uninstall' => array('title' => __('Remove PayPal Payments data from Database on uninstall', 'woocommerce-paypal-payments'), 'type' => 'checkbox', 'label' => __('Remove options and scheduled actions from database when uninstalling the plugin.', 'woocommerce-paypal-payments'), 'default' => \false, 'screens' => array(State::STATE_START, State::STATE_ONBOARDED), 'requirements' => array(), 'gateway' => Settings::CONNECTION_TAB_ID), 'uninstall_clear_db_now' => array('title' => __('Remove PayPal Payments data from Database.', 'woocommerce-paypal-payments'), 'type' => 'ppcp-text', 'text' => '<button type="button" class="button ppcp-clear_db_now">' . esc_html__('Clear now', 'woocommerce-paypal-payments') . '</button>', 'screens' => array(State::STATE_ONBOARDED), 'requirements' => array(), 'gateway' => Settings::CONNECTION_TAB_ID, 'description' => __('Click to remove options and scheduled actions from database now.', 'woocommerce-paypal-payments')));
16 return array_merge($fields, $uninstall_fields);
17 });
18