Uses
Uses | Description |
---|---|
wp-includes/functions.php: _deprecated_function() | Mark a function as deprecated and inform when it has been used. |
wp-includes/wp-db.php: wpdb::has_cap() | Determines if a database supports a particular feature. |
This method has been deprecated. Use wpdb::has_cap() instead.
Determines whether the database supports collation.
Called when WordPress is generating the table scheme.
Use wpdb::has_cap( 'collation' )
.
(bool) True if collation is supported, false if not.
File: wp-includes/wp-db.php
public function supports_collation() { _deprecated_function( __FUNCTION__, '3.5.0', 'wpdb::has_cap( \'collation\' )' ); return $this->has_cap( 'collation' ); }
Version | Description |
---|---|
3.5.0 | Use wpdb::has_cap() |
2.5.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wpdb/supports_collation