In the email sent to the customer as an order confirmation, the email instructions came out four times in a row.
I tracked this down to the fact that the function hooks_and_filters()
was called four times. Once because the WC_QP
instance calls it, and three more times because each instance class (WC_QuickPay_MobilePay
etc) calls it again in their setup() method.
I've fixed this locally in my copy by adding the following code at the start of the hooks_and_filters() function, but it would be great if a fix could make it into the plugin so I don't have to add it again after an upgrade.
if (has_action('init', 'WC_QuickPay_Helper::load_i18n')) {
retu;
}
https://wordpress.org/plugins/woocommerce-quickpay/
WordPress ...
ما را در سایت WordPress دنبال می کنید
برچسب : نویسنده : استخدام کار wpss بازدید : 228 تاريخ : دوشنبه 14 تير 1395 ساعت: 19:59