Youre right, thnks the database way works great,
il better use that instead of my override for future updates.
i should have known that store locator would create an option inside the options table, or better yet what the get_option() function does
I am quessing i still feel more at home in common php than wordpress
Thank you for your answer
forgot to mark as solved.. 🙂
Nevermind, solved it..
if u have this problem,
change this in sl_define_db_tables()
$sl_db_prefix = get_option(‘sl_db_prefix’);
to this
global $wpdb; $sl_db_prefix = $wpdb->prefix;
and this in sl_install_tables()
$sl_db_prefix = get_option(‘sl_db_prefix’);
to this
$sl_db_prefix = $wpdb->prefix;
I hope i have helped u on your way