wpdb::remove_placeholder_escape()publicWP 4.8.3

Removes the placeholder escape strings from a query.

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

Хуков нет.

Возвращает

Строку. The query with the placeholder removed.

Использование

global $wpdb;
$wpdb->remove_placeholder_escape( $query );
$query(строка) (обязательный)
The query from which the placeholder will be removed.

Список изменений

С версии 4.8.3 Введена.

Код wpdb::remove_placeholder_escape() WP 6.5.2

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