function __construct($plugin_file_path) { parent::__construct($plugin_file_path); global $wpmdbpro; $this->wpmdb =& $this->wpmdbpro; $this->wpmdbpro = $wpmdbpro; // add support for extra args add_filter('wpmdb_cli_filter_get_profile_data_from_args', array($this, 'add_extra_args_for_pro_export'), 10, 3); // extend get_tables_to_migrate with migrate_select add_filter('wpmdb_cli_tables_to_migrate', array($this, 'tables_to_migrate_include_select'), 10, 1); }