Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Forum: Plugins
    In reply to: Need Help on plugin Dev
    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

    Forum: Plugins
    In reply to: Need Help on plugin Dev
    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');

    Forum: Plugins
    In reply to: Need Help on plugin Dev
    Thread Starter awls99

    (@awls99)

    I’m trying to figure out what’s the error 🙁
    (and it’s on local machine)

Viewing 3 replies - 1 through 3 (of 3 total)