[wp-hackers] Using after_plugin_row_$plugin_file when plugin is deactivated

Otto otto at ottodestruct.com
Mon Nov 30 22:05:36 UTC 2009


Nothing of the plugin gets included until it's activated. So what you
want can't be done.

-Otto



On Mon, Nov 30, 2009 at 2:37 PM, Ade Walker <photofantaisie at gmail.com> wrote:
> Hi all,
>
> Maybe I'm going about this the wrong way, or overlooking something
> blindingly obvious...
>
> I want to add a WP version check after my plugin has been installed, but
> before it is activated, and display a warning message in the main plugins
> page if the WP version is not compatible. However, hooking into
> after_plugin_row_$plugin_file only works once the plugin has been activated
> - which is too late.
>
> Any thoughts?
>
> Thanks. :-)
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list