wpdb::db_server_info()
Returns the version of the MySQL server.
Method of the class: wpdb{}
No Hooks.
Return
String
. Server version as a string.
Usage
global $wpdb; $wpdb->db_server_info();
Changelog
Since 5.5.0 | Introduced. |
wpdb::db_server_info() wpdb::db server info code WP 6.7.2
public function db_server_info() { return mysqli_get_server_info( $this->dbh ); }