wpdb::supports_collation(): bool

In this article

This method has been deprecated. Use wpdb::has_cap() instead.

Determines whether the database supports collation.

Description

Called when WordPress is generating the table scheme.

Use wpdb::has_cap( 'collation' ).

Return

bool True if collation is supported, false if not.

Source

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

Changelog

VersionDescription
3.5.0Use wpdb::has_cap()
2.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.