wpdb::hide_errors(): bool

Disables showing of database errors.


Description

By default database errors are not shown.

Top ↑

See also


Top ↑

Return

bool Whether showing of errors was previously active.


Top ↑

Source

File: wp-includes/class-wpdb.php. View all references

public function hide_errors() {
	$show              = $this->show_errors;
	$this->show_errors = false;
	return $show;
}


Top ↑

Changelog

Changelog
Version Description
0.71 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.