wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



stripslashes_from_strings_only › WordPress Function

Od4.4.0
Przestarzałyn/a
stripslashes_from_strings_only ( $value )
Parametry:
  • (mixed) $value The array or string to be stripped.
    Wymagane: Tak
Powrót:
  • (mixed) The stripped value.
Zdefiniowane na:
Codex:

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



Źródło

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