wpdb::hide_errors() – Method | Developer.WordPress.org
Disables showing of database errors.
Description
By default database errors are not shown.
See also
Return
bool Whether showing of errors was previously active.Source
public function hide_errors() {
$show = $this->show_errors;
$this->show_errors = false;
return $show;
}
Related
| Used by | Description |
|---|---|
drop_index()wp-admin/includes/upgrade.php | Drops a specified index from a table. |
Changelog
| Version | Description |
|---|---|
| 0.71 | Introduced. |