like_escape


like_escape ( $text )

Parameters:
  • (string) $text The text to be escaped.
See:
  • wpdb::esc_like()
Returns:
  • (string) text, safe for inclusion in LIKE query.
Defined at:

Description

Formerly used to escape strings before searching the DB. It was poorly documented and never worked as described.

Related Functions

js_escape, attribute_escape, tag_escape, link_pages, normalize_whitespace

Top Google Results

User discussions

wpseek mobile