wpdb::_weak_escape( string $data ): string

This method has been deprecated. Use wpdb::prepare() instead.

Do not use, deprecated.

Description

Use esc_sql() or wpdb::prepare() instead.

See also

Parameters

$datastringrequired

Return

string

Source

* @see wpdb::prepare()
* @see esc_sql()
*
* @param string $data
* @return string
*/

Changelog

VersionDescription
3.6.0Use wpdb::prepare()
2.8.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.