Escapes a translated string to make it safe for HTML attribute.
<?php
use function Qubus\Security\Helpers\esc_attr__;
esc_attr__(string $string, string $domain = 'qubus'): string;
$string (string) (required) String to translate and escape.
$domain (string) (optional) Unique identifier for retrieving a translated string.
(string) Translated and escaped string.
Last Updated on August 14, 2024 by Joshua