I'm working on a plugin, and need to know if the user has
activated it. I noticed in wp-admin/plugins.php there's
an action called activate_ + trim($_get(plugin)).
If I read it right, it would send off to a function called
activate_plugin.php. However, you can't create a function
with a period in its name. Has anyone used these successfully?
I browsed through wp-admin/plugins.php to see the call code,
and wp-includes/functions.php (line 1235) but didn't see
anything that would either get rid of the .php or remove
the period to give activate_pluginphp.
Any help appreciated!
Thanks,
Loyd