WordPress at a glance
function is not described

wpdb::supports_collation() public WP 2.5.0

Deprecated in from version 3.5.0. It is no longer supported and can be removed in future releases. Use wpdb::has_cap() instead.

Determines whether the database supports collation.

Called when WordPress is generating the table scheme.

Use wpdb::has_cap('collation').

{} It's a method of the class: wpdb{}

No Hooks.

Return

true/false. True if collation is supported, false if not.

Usage

global $wpdb;
$wpdb->supports_collation();

Changelog

Since 2.5.0 Introduced.
Deprecated Since 3.5.0 Use wpdb::has_cap()

Code of wpdb::supports_collation() WP 5.5.1

<?php
public function supports_collation() {
	_deprecated_function( __FUNCTION__, '3.5.0', 'wpdb::has_cap( \'collation\' )' );
	return $this->has_cap( 'collation' );
}