Thread Starter
awls99
(@awls99)
bump
Could really use some help on this
I got this plugin working for my own use but I’d like to share it and the way it is now is just not elegant
Thread Starter
awls99
(@awls99)
I need to get this plugin working soon, so I made a small workaround, not preatty, but works like a charm:
on the install function added (right before the end): add_option('wat_installed', true, '', 'no');
and used that option to make sure it runs the first time:
//register_activation_hook(__FILE__,'wat_install');
if(!get_option('wat_installed'))wat_install();
add_action('admin_menu', 'wat_admin_options');
Thread Starter
awls99
(@awls99)
I’m trying to figure out what’s the error 🙁
(and it’s on local machine)