wp_unslash


wp_unslash ( $value )

Parameters:
  • (string|array) value String or array of data to unslash.
Returns:
  • (string|array) Unslashed `$value`, in the same type as supplied.
Defined at:

Description

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.

Related Functions

wp_slash, wp_hash, wp_untrash_post, wp_rss, wp_styles

Top Google Results

User discussions

wpseek mobile