Skip to content

Commit

Permalink
use wp_doing_ajax
Browse files Browse the repository at this point in the history
  • Loading branch information
vyskoczilova committed Feb 1, 2024
1 parent 174124b commit e11e334
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion includes/filters-actions.php
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ function woolab_icdic_toggle_iscomp_field($value, $input) {
}

function woolab_icdic_set_vat_exempt_for_customer() {
if ( is_ajax() ) {
if ( wp_doing_ajax() ) {
return;
}

Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Supports both PHP 7.3+ & PHP 8.0+.
* [Kybernaut Mailstep](https://kybernaut.cz/pluginy/kybernaut-mailstep/)
* [WooCommerce SuperFaktura](https://wordpress.org/plugins/woocommerce-superfaktura/)
* [WooCommerce PDF Invoices & Packing Slips for WooCommerce](https://cs.wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/) by WP Overnight
* [WooCommerce PDF Invoices and Packing Slips for WooCommerce](https://wordpress.org/plugins/pdf-invoices-and-packing-slips-for-woocommerce/) by Acowebs
* WooCommerce PDF Invoices and Packing Slips for WooCommerce PRO by Acowebs
* [WooCommerce Sequential Order Numbers](https://cs.wordpress.org/plugins/woocommerce-sequential-order-numbers/)
* [Woo Checkout Field Editor Pro](https://cs.wordpress.org/plugins/woo-checkout-field-editor-pro/)
* [Fluid Checkout for WooCommerce - Lite](https://wordpress.org/plugins/fluid-checkout/) - partial support
Expand Down

0 comments on commit e11e334

Please sign in to comment.