wpmdb_process_column_as_bit

wpmdb_process_column_as_bit

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

See hook in core

Displaying hooks found in version: wp-migrate-db.2.6.9

apply_filters('wpmdb_process_column_as_bit') is found 1 times:

  • /class/Common/Sql/Table.php line 689
                    $defs[strtolower($struct->Field)] = (null === $struct->Default) ? 'NULL' : $struct->Default;
                    $ints[strtolower($struct->Field)] = '1';
                } elseif (0 === strpos($struct->Type, 'binary') || apply_filters('wpmdb_process_column_as_binary', false, $struct)) {
                    $bins[strtolower($struct->Field)] = '1';
                } elseif (0 === strpos($struct->Type, 'bit') || apply_filters('wpmdb_process_column_as_bit', false, $struct)) {
                    $bits[strtolower($struct->Field)] = '1';
                }
    
                $field_set[] = $this->table_helper->backquote($struct->Field);
    
                if ('PRI' === $struct->Key && true === $use_primary_keys) {