Function Arguments Return Description Version Path

wp_iso_descrambler

(string) $string
(string) Converted string to ASCII

Convert to ASCII from email subjects.

1.2 wp-includes / formatting.php

wp_json_encode

(mixed) $data
(int) $options = 0
(int) $depth = 512
(string|false) The JSON encoded string, or false if it cannot be encoded.

Encode a variable into JSON, with some sanity checks.

4.1 wp-includes / functions.php

wp_just_in_time_script_localization

(void)

Load localized data on print rather than initialization.

2.5 wp-includes / script-loader.php

wp_kses

(string) $string
(array) $allowed_html
(array) $allowed_protocols = array()
(string) Filtered content with only allowed HTML elements

Filters content and keeps only allowable HTML elements.

1.0 wp-includes / kses.php

wp_kses_allowed_html

(string|array) $context = ''
(array) List of allowed tags and their allowed attributes.

Return a list of allowed tags and attributes for a given context.

3.5 wp-includes / kses.php

wp_kses_array_lc

(array) $inarray
(array) Fixed array with all lowercase keys

Goes through an array and changes the keys to all lower case.

1.0 wp-includes / kses.php

wp_kses_attr

(string) $element
(string) $attr
(array) $allowed_html
(array) $allowed_protocols
(string) Sanitized HTML element

Removes all attributes, if none are allowed for this element.

1.0 wp-includes / kses.php

wp_kses_attr_check

(string) $name
(string) $value
(string) $whole
(string) $vless
(string) $element
(array) $allowed_html
(boolean) Is the attribute allowed?

Determine whether an attribute is allowed.

4.2.3 wp-includes / kses.php

wp_kses_attr_parse

(string) $element
(array|boolean) List of attributes found in $element. Returns false on failure.

Finds all attributes of an HTML element.

4.2.3 wp-includes / kses.php

wp_kses_bad_protocol

(string) $string
(array) $allowed_protocols
(string) Filtered content

Sanitize string from bad protocols.

1.0 wp-includes / kses.php