This is basiscly what i can't figure out ! I have some plugins that cant be updated automatically, so i want to update a plugin manually by replacing it with the newest version through ftp.

maybe a noob questions but i really dont know. So does this override all settings i previously made with the plugin ? (since all files are replaced by the new version?)

  • Is this actually a wordpress.com issue? If so, it is off topic per our FAQ. – Dan Apr 17 '14 at 18:15
  • sorry, deleted the tag! – BerendBenenKaas Apr 17 '14 at 18:18

Plugin settings are generally saved via the WordPress database.

For example, if you were manually updating the plugin Contact Form 7 via your FTP, your form settings would not be overwritten because these live in the database.

However, if you have edited the core plugin files via your server (this includes style alterations or other code edits), those changes will be overwritten.

If you're planning on editing the plugin files, you should use hooks and filters within functions.php instead. This means that any customisation won't be lost when updating the plugin (manually or automatically.

  • Thanks for the answer! So hooks and filters are basicly the same for plugins what a childtheme is to themes? – BerendBenenKaas Apr 17 '14 at 18:16
  • Pretty much! You can read more about filters and hooks here: wpcandy.com/teaches/how-to-use-wordpress-hooks. If my answer was helpful, please mark it as answered. – Sam Apr 17 '14 at 18:22
  • Assuming that hooks are implemented in the plugin, which is all too rare. – vancoder Apr 18 '14 at 21:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.