Uses
Uses | Description |
---|---|
wp-includes/wp-db.php: wpdb::placeholder_escape() | Generates and returns a placeholder escape string for use in queries returned by ::prepare(). |
Removes the placeholder escape strings from a query.
(string) (Required) The query from which the placeholder will be removed.
(string) The query with the placeholder removed.
File: wp-includes/wp-db.php
public function remove_placeholder_escape( $query ) { return str_replace( $this->placeholder_escape(), '%', $query ); }
Version | Description |
---|---|
4.8.3 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wpdb/remove_placeholder_escape