Blorner

Sunday, May 2, 2010

Automatic activating plugins after Wordpress installation

To activate the plugins that you want to be activated automatically after Wordpress installation, copy those plugins to the /wp-content/plugins/ directory, then open the file schema.php from the directory /wp-admin/includes/ and add the plugins main files names in the active_plugins array which is in the $options array of the function populate_options.

Example:
...
'active_plugins' => array("explanatory-dictionary/explanatory-dictionary.php","most-commenting-visitors/most-commenting-visitors.php","greetings/greetings.php","running-line/running-line.php","subscribe-to-author-posts-feed/subscribe-to-author-posts-feed.php"),
...

No comments:

Post a Comment

Art Works Expo