wpdb::add_placeholder_escape( string $query )
Adds a placeholder escape string, to escape anything that resembles a printf() placeholder.
Parameters
- $query
-
(Required) The query to escape.
Return
(string) The query with the placeholder escape string inserted where necessary.
Source
File: wp-includes/class-wpdb.php
Changelog
Version | Description |
---|---|
4.8.3 | Introduced. |