Disables showing of database errors.
By default database errors are not shown.
public function hide_errors() {
$show = $this->show_errors;
$this->show_errors = false;
return $show;
}
| Version | Description |
|---|---|
| 0.71 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wpdb/hide_errors