like_escape Wordpress function


Description:

Escapes text for SQL LIKE special characters % and _.


Syntax:


Arguments:

(string) $text The text to be escaped.


Return Type:

(string) text, safe for inclusion in LIKE query.


Define At:

wp-includes/formatting.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/like_escape


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×