tests/Frameworks/WordPress/Version_4_8/wp-includes/wp-db.php
/**
	 * Enables showing of database errors.
	 *
	 * This function should be used only to enable showing of errors.
	 * wpdb::hide_errors() should be used instead for hiding of errors. However,
	 * this function can be used to enable and disable showing of database
	 * errors.
	 *
	 * @since 0.71
	 * @see wpdb::hide_errors()
	 *
	 * @param bool $show Whether to show or hide errors
	 * @return bool Old value for showing errors.
	 */
Enables showing of database errors.
This function should be used only to enable showing of errors.
wpdb::hide_errors() should be used instead for hiding of errors. However,
this function can be used to enable and disable showing of database
errors.



@param bool $show Whether to show or hide errors
@return bool Old value for showing errors.
Enables showing of database errors . This function should be used only to enable showing of errors . wpdb :: hide_errors () should be used instead for hiding of errors . However this function can be used to enable and disable showing of database errors . @param bool $show Whether to show or hide errors @return bool Old value for showing errors .
public function show_errors( $show = true ) {
		$errors = $this->show_errors;
		$this->show_errors = $show;
		return $errors;
	}
public function show_errors ( $ show = true ) { $ errors = $ this -> show_errors ; $ this -> show_errors = $ show ; return $ errors ; }
Enables showing of database errors.
Enables showing of database errors .