Examples of using WP Migrate DB Pro's filters
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
wp-migrate-db-pro-tweaks.php

README.md

WP Migrate DB Pro Tweaks

This is a WordPress plugin, meant as a starting point for developers to tweak WP Migrate DB Pro using WordPress filters.

Installation

Create a /wp-migrate-db-pro-tweaks/ folder in /wp-content/plugins/ and simply drop the wp-migrate-db-pro-tweaks.php file into it. Then go to the Plugins page in your WordPress dashboard and activate it.

Setup

Open the wp-migrate-db-pro-tweaks.php file and take a look at the init() function. You will notice that all the calls to add_filter() are commented out. So, at the moment the plugin does nothing even though it's activated. To enable a filter, simply uncomment the appropriate add_filter() line.