incompatible_sql_modes WordPress Filter Hook
The incompatible_sql_modes Wordpress hook is used to filter the list of SQL modes that are incompatible with the current WordPress installation. By default, this hook is fired when the 'wp_incompatible_sql_modes' option is updated.
apply_filters( 'incompatible_sql_modes', array $incompatible_modes ) #
Filters the list of incompatible SQL modes to exclude.
Parameters
- $incompatible_modes
(array)An array of incompatible modes.
Source
File: wp-includes/wp-db.php
Changelog
Version | Description |
---|---|
3.9.0 | Introduced. |