Plugin API/Action Reference/activate (plugin file name)
There was a bug that affected this function until version 2.2.3 or 2.3.
This hook provides no parameters. You use this hook by having your function echo output to the browser, or by having it perform background tasks. Your functions shouldn't return, and shouldn't take any parameters.
This hook was introduced in WordPress 2.0, and will not work in earlier versions.
It is recommended to use the function register_activation_hook() instead of this function.
includeonlydiv style=clear:both; background-color:#FAEBD7; border:1px solid #CCCCCC; color:#000000; padding:7px; margin:0.5em auto 0.5em auto; vertical-align:middle;This page is marked as incomplete. You can help Codex by expanding it./div/includeonlynoinclude
This Template is used by Codex:Template Messages.
pre 检查到模板循环：模板:Message /pre