diff --git a/plugins/woocommerce/includes/wc-conditional-functions.php b/plugins/woocommerce/includes/wc-conditional-functions.php index 070ec53b686..20383d867bb 100644 --- a/plugins/woocommerce/includes/wc-conditional-functions.php +++ b/plugins/woocommerce/includes/wc-conditional-functions.php @@ -261,6 +261,7 @@ if ( ! function_exists( 'is_ajax' ) ) { /** * Is_ajax - Returns true when the page is loaded via ajax. * + * @see wp_doing_ajax() for an equivalent function provided by WordPress since 4.7.0 * @return bool */ function is_ajax() {