wpdb::hide_errors()

Disables showing of database errors.


Description Description

By default database errors are not shown.

See also See also


Top ↑

Return Return

(bool) Whether showing of errors was active


Top ↑

Source Source

File: wp-includes/wp-db.php

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

Top ↑

Changelog Changelog

Changelog
Version Description
0.71 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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