Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_unslash ›

Da3.6.0
Deprecaton/a
wp_unslash ( $value )
Parametri:
  • (string|array) $value String or array of strings to unslash.
    Richiesto:
Ritorna:
  • (string|array) Unslashed $value
Definito a:
Codex:

Remove slashes from a string or array of strings.

This should be used to remove slashes from data passed to core API that expects data to be unslashed.



Sorgenti

function wp_unslash( $value ) {
	return stripslashes_deep( $value );
}