addslashes_strings_only() wordpress function and usage

Home / WordPress / WordPress Wiki / addslashes_strings_only() wordpress function and usage

addslashes_strings_only( mixed $value )
This function is used to adds slashes only if the provided value is a string.

This function has been deprecated. Use wp_slash() instead.

Parameters

$value

(mixed) (Required)

Return

(mixed)

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments