Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

wp_unslash()

3 tags 1 category

wp_unslash() — Removes slashes from a string or recursively removes slashes from strings within an array. This should be used to remove slashes from data passed to core API that expects data to be unslashed.

Inputs: $value (string|array): String or array of data to unslash.

Returns string|array: Unslashed $value, in the same type as supplied.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…