Uses
Uses | Description |
---|---|
wp-includes/wp-db.php: wpdb::db_server_info() | Retrieves full MySQL server information. |
Retrieves the MySQL server version.
(string|null) Version number on success, null on failure.
File: wp-includes/wp-db.php
public function db_version() { return preg_replace( '/[^0-9.].*/', '', $this->db_server_info() ); }
Version | Description |
---|---|
2.7.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wpdb/db_version