is_ajax() is deprecated
-
You are using the function
is_ajax()
in your class/deposits-partial-payments-for-woocommerce/includes/class-awcdp-front-end.php
, but it’s deprecated, you should usewp_doing_ajax()
instead:// wp_doing_ajax() requires WP4.7+ $is_ajax = function_exists( 'wp_doing_ajax' ) ? wp_doing_ajax() : defined( 'DOING_AJAX' ) && DOING_AJAX;
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘is_ajax() is deprecated’ is closed to new replies.