Plugin Activation

Issue #48 resolved
Tim Hyde created an issue

I am not sure that plugin activation fires with this plugin.

I think it is in the wrong place. Not sure why

register_activation_hook(FILE, 'wpfc_add_defaults');

is in inc/options.php

As far as I can tell wpfc_add_defaults is never called.

The hook should be in the main plugin file. If I put it there it will fire! WP docs confirm that this is expected to be in main file and the hook won't find the add_defaults function as it is.

Comments (2)

  1. Log in to comment