wpdb::remove_placeholder_escape() public WP 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() wpdb::remove placeholder escape WP 5.6.2
public function remove_placeholder_escape( $query ) {
return str_replace( $this->placeholder_escape(), '%', $query );
}