Total Pageviews

120133

Sponsored Ad

UltraDNS - DNS Matters - Blog

Error loading feed.

ChaiDomains.com

Error loading feed.

Eye-Fi

Displaying items by tag: joomla

Error loading feed.

Thursday, July 21, 2011

WordPress MultiSite, Plugins and Activation - old MultiUser, WordPress, Plugin, This, Thomas, Post - WP Engineer

WordPress MultiSite, Plugins and Activation - old MultiUser, WordPress, Plugin, This, Thomas, Post - WP Engineer: "WordPress offers for normal Plugins the hook register_activation_hook();. This is active right after the activation of a Plugin, so you can start small installation scripts. But if we are in a MultiSite environment (old: MultiUser) and put the Plugin in the folder wp-content/mu-plugins, then the hook doesn't do anything, because the Plugin is automatically activated. But there are few ways you can still have a kind of activation hook. One is this option:"

No comments:

Post a Comment