Activate Plugin Action doesn't work (1 post)

  1. explor1ng
    Posted 8 years ago #

    I'm using WP 2.2.2, trying to add action hook for plugin activation, it doesn't work. What I was trying is similar to example below (taken from http://codex.wordpress.org/Creating_Tables_with_Plugins#Calling_the_function).
    What's wrong?

    If your plugin file is wp-content/plugins/plugindir/pluginfile.php, you'll add the following line to the main body of your plugin:

    add_action('activate_plugindir/pluginfile.php', 'jal_install');

Topic Closed

This topic has been closed to new replies.

About this Topic