incompatible_sql_modes

incompatible_sql_modes

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('incompatible_sql_modes') is found 1 times:

  • /wp-includes/class-wpdb.php line 976
    		 * @since 3.9.0
    		 *
    		 * @param array $incompatible_modes An array of incompatible modes.
    		 */
    		$incompatible_modes = (array) apply_filters( 'incompatible_sql_modes', $this->incompatible_modes );
    
    		foreach ( $modes as $i => $mode ) {
    			if ( in_array( $mode, $incompatible_modes, true ) ) {
    				unset( $modes[ $i ] );
    			}
    		}