The support license key is stored in the wp_option table with the "rg_gforms_key" name.
So you could call:
update_option("rg_gforms_key", md5('your key here'));
to preload it, but I am not sure how this would save you time when you will have to write this code in all the sites anyways. It will probably be easier to type the key on the settings page.
Scott's idea to keep it in a separate file could work, the problem is where would you save that file? it would have to be in a known location to Gravity Forms, but at the same time, it can't be in the gravityforms folder because the automatic upgrade would delete it.
IAny suggestions.
Posted 14 years ago on Sunday December 6, 2009 |
Permalink