Activate Plugin Action doesn’t work
-
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.ww.wp.xz.cn/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’);
The topic ‘Activate Plugin Action doesn’t work’ is closed to new replies.