WordPress at a glance
function is not described

wpdb::remove_placeholder_escape() public WP 4.8.3

Removes the placeholder escape strings from a query.

{} It's a method of the class: wpdb{}

No Hooks.


String. The query with the placeholder removed.


global $wpdb;
$wpdb->remove_placeholder_escape( $query );
$query(string) (required)
The query from which the placeholder will be removed.


Since 4.8.3 Introduced.

Code of wpdb::remove_placeholder_escape() WP 5.7.2

public function remove_placeholder_escape( $query ) {
	return str_replace( $this->placeholder_escape(), '%', $query );