Used By
Used By | Description |
---|---|
wp-admin/includes/upgrade.php: drop_index() | Drops a specified index from a table. |
wp-includes/wp-db.php: wpdb::__construct() | Connects to the database server and selects a database. |
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 errors.
(bool) (Optional) Whether to show errors.
Default value: true
(bool) Whether showing of errors was previously active.
File: wp-includes/wp-db.php
public function show_errors( $show = true ) { $errors = $this->show_errors; $this->show_errors = $show; return $errors; }
Version | Description |
---|---|
0.71 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wpdb/show_errors