2020-05-01 / 4732阅 / 悠然
Escapes data for use in a MySQL query.
Usually you should prepare queries using wpdb::prepare(). Sometimes, spot-escaping is required or useful.>esc_sql() to be useable for other purposes.
(string|array)
(Required)
Unescaped data
(string|array) Escaped data