"https://phone.your-tenant.example", "width" => "1180", "height" => "720" ], $atts); $src = esc_url(trailingslashit($a["tenant"]) . "chat.html"); $width = intval($a["width"]); $height = intval($a["height"]); return sprintf( '', $src, $width, $height ); }); // Usage: [codeb_chat tenant="https://phone.acme.example"]