woocommerce-paypal-payments/modules/ppcp-wc-gateway
Alex P 61dafb83d7
Use wp_loaded for fraudnet loading to avoid warnings
It needs wcgateway.enabled-ppcp-gateways which calls WC()->payment_gateways->get_available_payment_gateways(), and the hooks inside it can be used by other plugins resulting in warnings about calling functions like get_cart too early
One way to fix it is simply to use the wp_loaded hook instead of init, I think it supposed to be a more correct choice if interaction with other plugins (WC) is needed, because it is fired when "WP, all plugins, and the theme are fully loaded and instantiated"
2023-02-08 18:00:23 +02:00
..
assets/images Add oxxo icon 2022-07-27 16:03:17 +03:00
resources Merge branch 'trunk' into PCP-1083-update-standard-payments-tab-settings 2022-12-20 19:37:51 +04:00
src Use wp_loaded for fraudnet loading to avoid warnings 2023-02-08 18:00:23 +02:00
.babelrc Fix babel in other modules 2022-09-12 10:22:02 +03:00
composer.json Require PHP 7.2 2022-11-09 16:00:15 +02:00
extensions.php Fix merge conflicts 2023-01-17 15:03:20 +01:00
module.php Add isolated container and dhii modularity deps 2022-11-09 10:13:03 +02:00
package.json Add button preview in settings 2022-10-21 17:56:48 +03:00
services.php Merge pull request #1156 from khalilgharbaoui/trunk 2023-02-07 12:58:00 +01:00
webpack.config.js Register the FraudNet JS 2022-11-29 17:06:17 +04:00
yarn.lock Add button preview in settings 2022-10-21 17:56:48 +03:00