<?php
declare(strict_types=1);
if ( ! defined( 'ABSPATH' ) ) { exit; }
/**
 * Additional Escape Helpers.
 * @package WTE_Business_Card
 */
function wte_esc_json( mixed $data ): string {
	return wp_json_encode( $data, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE ) ?: '{}';
}
