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