wpdb::supports_collation
Deprecated since 3.5.0. It is no longer supported and may 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').
Method of the class: wpdb{}
No Hooks.
Returns
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() |
wpdb::supports_collation() wpdb::supports collation code WP 7.0
public function supports_collation() {
_deprecated_function( __FUNCTION__, '3.5.0', 'wpdb::has_cap( \'collation\' )' );
return $this->has_cap( 'collation' );
}