OnStartups

Total Pageviews

Sponsored Ad

Mashable!

Start-ups & VC

Google Photos Blog

UltraDNS - DNS Matters - Blog

Ignite Social Media

Todays Clouds

ChaiDomains.com

Eye-Fi

Displaying items by tag: joomla

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

Gabfire Premium Themes