wpdb::remove_placeholder_escape()
Removes the placeholder escape strings from a query.
Method of the class: 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. |
wpdb::remove_placeholder_escape() wpdb::remove placeholder escape code WP 6.6.2
public function remove_placeholder_escape( $query ) { return str_replace( $this->placeholder_escape(), '%', $query ); }