Table of Contents
-
ATTR
= 'attr'
-
HTML
= 'html'
-
JS
= 'js'
-
TEXTAREA
= 'textarea'
-
URL
= 'url'
-
$_callbacks
: array<string|int, mixed>
-
getCallbackByEscaping()
: string
ATTR
public
mixed
ATTR
= 'attr'
HTML
public
mixed
HTML
= 'html'
JS
public
mixed
JS
= 'js'
TEXTAREA
public
mixed
TEXTAREA
= 'textarea'
URL
public
mixed
URL
= 'url'
$_callbacks
private
static array<string|int, mixed>
$_callbacks
= array(self::HTML => 'esc_html', self::JS => 'esc_js', self::URL => 'esc_url', self::TEXTAREA => 'esc_textarea', self::ATTR => 'esc_attr')
getCallbackByEscaping()
public
static getCallbackByEscaping(string $escaping) : string
Parameters
-
$escaping
: string
-
Return values
string
—