wpmdb_create_table_query

wpmdb_create_table_query

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

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

apply_filters('wpmdb_create_table_query') is found 1 times:

  • /class/Common/Sql/Table.php line 897
     
            $alter_table_query  = '';
            $create_table[0][1] = $this->process_sql_constraint($create_table[0][1], $target_table_name, $alter_table_query);
    
            $create_table[0][1] = apply_filters('wpmdb_create_table_query', $create_table[0][1], $table_to_stow, $this->dynamic_props->target_db_version, $state_data['intent'], $state_data['stage']);
            $stow               .= ($create_table[0][1] . ";\n");
    
            $this->stow($stow, false, $fp);
    
            if (!empty($alter_table_query)) {
                $alter_table_name = $this->get_alter_table_name();
    

See this hook used in plugins: