Quantcast
Channel: TCBarrett » Plugins
Viewing all articles
Browse latest Browse all 10

What use is the WordPress register_activation_hook() function?

$
0
0
Having been playing around with WordPress Network (Multisite) plugins, mostly internal, not doing much that anyone else would be interested in having. During a plugin's lifetime it goes through some critical points. The one you can't avoid is activation. Many also experience deactivation or even deletion. Most will, at some point, be updated. for these critical points the plugin author may want to have certain critical events happen. Setting up options, creating databases, pre-populating meta data. And of course the reverse - deleting said litter.

Viewing all articles
Browse latest Browse all 10

Trending Articles