wpmdb_cli_filter_before_cli_initiate_migration

wpmdb_cli_filter_before_cli_initiate_migration

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wp-migrate-db.2.6.9

apply_filters('wpmdb_cli_filter_before_cli_initiate_migration') is found 1 times:

  • /class/Common/Cli/Cli.php line 216
     
    		// Ensure local site_details available.
    		$this->post_data['site_details']['local'] = $this->util->site_details();
    
    		$this->profile = apply_filters('wpmdb_cli_filter_before_cli_initiate_migration', $this->profile, $this->post_data);
    
    		if (is_wp_error($this->profile)) {
    			\WP_CLI::error($this->profile->get_error_message());
    		}
    
    		// Check for tables specified in migration profile that do not exist in the source database