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”),

  • Share/Bookmark
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Leave a Reply

*





Info