wpmdb_process_column_as_binary

wpmdb_process_column_as_binary

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_binary') is found 1 times:

  • /class/Common/Sql/Table.php line 687
                    (0 === strpos(strtolower($struct->Type), 'bigint'))
                ) {
                    $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);