incompatible_sql_modes filter-hookWP 3.9.0

Filters the list of incompatible SQL modes to exclude.

Usage

add_filter( 'incompatible_sql_modes', 'wp_kama_incompatible_sql_modes_filter' );

/**
 * Function for `incompatible_sql_modes` filter-hook.
 * 
 * @param array $incompatible_modes An array of incompatible modes.
 *
 * @return array
 */
function wp_kama_incompatible_sql_modes_filter( $incompatible_modes ){

	// filter...
	return $incompatible_modes;
}
$incompatible_modes(array)
An array of incompatible modes.

Changelog

Since 3.9.0 Introduced.

Where the hook is called

wpdb::set_sql_mode()
incompatible_sql_modes
wp-includes/wp-db.php 956
$incompatible_modes = (array) apply_filters( 'incompatible_sql_modes', $this->incompatible_modes );

Where the hook is used in WordPress

Usage not found.