Escaping for html attributes.
<?php
use function Qubus\Security\Helpers\esc_attr;
esc_attr(string $string): string;
$string (string) (required) Attribute to be escaped.
(string) Escaped HTML attribute after the esc_attr
filter has been applied.
Last Updated on August 14, 2024 by Joshua