• Resolved alexmigf

    (@alexmigf)


    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 use wp_doing_ajax() instead:

    // wp_doing_ajax() requires WP4.7+
    $is_ajax = function_exists( 'wp_doing_ajax' ) ? wp_doing_ajax() : defined( 'DOING_AJAX' ) && DOING_AJAX;
    • This topic was modified 3 years, 1 month ago by alexmigf.
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.