-
Notifications
You must be signed in to change notification settings - Fork 16
Description
Our DB table was deleted out of our wp database.
First off, I am primarily a designer, not a developer, so any help would be great!
I am attempting to repair site.
Currently, the DB Table Editor backend in WP shows two tables, which formerly HAD data, but not are both empty. I tried to import the filter finder.csv file nto the table I needed, called filbur_filters, but didn't see a way to import it.
So, I imported my data into a new Mysql db table, named filbur_filters
When I update my functions.php file to reflect the name of the table, the DB Table editor does not populate with the new data from the imported table.
add_db_table_editor(array(
'title' => 'Filter Finder',
'table' => 'filbur_filters',
'id_column' => 'id'
));
add_db_table_editor(array(
'title' => 'Dealers',
'table' => 'filbur_dealers',
'id_column' => 'id'
What am I doing wrong? Is there another way or file that I need to reference the table?