wpdb::remove_placeholder_escape( string $query ): string

Removes the placeholder escape strings from a query.


Parameters

$query string Required
The query from which the placeholder will be removed.

Top ↑

Return

string The query with the placeholder removed.


Top ↑

Source

File: wp-includes/class-wpdb.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
4.8.3 Introduced.

Top ↑

User Contributed Notes

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