Private plugin updating – GitHub zip file changes the plugin directory (with release or branch name)

It should be possible to carefully adjust the destination path via the upgrader_package_options filter in WordPress, before the upgrader installs the new version of it. Here’s a barebone example that appends the plugin’s current directory name to the destination path, if it’s same as WP_PLUGIN_DIR (see check in core here), when the package url is … Read more

Sync Local site and Distant site

It sounds like you need to update the database to replace the guids and base URL. I recommend WP Migrate DB Pro to quickly sync two databases. Otherwise you need to run a few SQL statements to find and replace the old domain with the new domain. In PHPMyAdmin run the following statements from the … Read more

tech