wpdb::supports_collation()
Deprecated 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').
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() |
wpdb::supports_collation() wpdb::supports collation code WP 6.6.2
public function supports_collation() { _deprecated_function( __FUNCTION__, '3.5.0', 'wpdb::has_cap( \'collation\' )' ); return $this->has_cap( 'collation' ); }