wpdb::remove_placeholder_escape( string $query ): string

In this article

Removes the placeholder escape strings from a query.

Parameters

$querystringrequired
The query from which the placeholder will be removed.

Return

string The query with the placeholder removed.

Source

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

Changelog

VersionDescription
4.8.3Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.