src/components/Utility.php
public static function get_callback_response( $handle, $callback, $callback_args ) {

		$ajax_payload = static::get_ajax_payload( $handle );

		$response = static::run_callback(
			$callback,
			array(
				$ajax_payload,
				$callback_args,
			)
		);

		/**
		 * Filter the callback response.
		 *
		 * @param mixed  $response      The callback response.
		 * @param string $handle        The current handle's name.
		 * @param array  $callback_args The arguments passed to the callback function.
		 * @param mixed  $ajax_payload  The Ajax payload.
		 */
		$response = apply_filters( 'WP_Ajax_Helper\callback_response', $response, $handle, $callback_args, $ajax_payload );

		return $response;
	}
public static function get_callback_response( $handle, $callback, $callback_args ) {

		$ajax_payload = static::get_ajax_payload( $handle );

		$response = static::run_callback(
			$callback,
			array(
				$ajax_payload,
				$callback_args,
			)
		);

		/**
		 * Filter the callback response.
		 *
		 * @param mixed  $response      The callback response.
		 * @param string $handle        The current handle's name.
		 * @param array  $callback_args The arguments passed to the callback function.
		 * @param mixed  $ajax_payload  The Ajax payload.
		 */
		$response = apply_filters( 'WP_Ajax_Helper\callback_response', $response, $handle, $callback_args, $ajax_payload );

		return $response;
	}
Retrieves the response from the handle's callback function.

@param string $handle        The current handler's handle.
@param mixed  $callback      The callback function.
@param array  $callback_args The arguments to be passed to the callback function.

@return mixed The callback response.