wpdb::remove_placeholder_escape()publicWP 4.8.3

Removes the placeholder escape strings from a query.

Метод класса: wpdb{}

No Hooks.

Return

String. The query with the placeholder removed.

Usage

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

Changelog

Since 4.8.3 Introduced.

Code of wpdb::remove_placeholder_escape() WP 6.1.1

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