wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



stripslashes_from_strings_only › WordPress Function

Da4.4.0
Deprecaton/a
stripslashes_from_strings_only ( $value )
Parametri:
  • (mixed) $value The array or string to be stripped.
    Richiesto:
Ritorna:
  • (mixed) The stripped value.
Definito a:
Codex:

Callback function for `stripslashes_deep()` which strips slashes from strings.



Sorgenti

function stripslashes_from_strings_only( $value ) {
	return is_string( $value ) ? stripslashes( $value ) : $value;
}