wpmdb_cli_initiate_migration_args

wpmdb_cli_initiate_migration_args

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

See hook in core

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

apply_filters('wpmdb_cli_initiate_migration_args') is found 1 times:

  • /class/Common/Cli/Cli.php line 376
    		if ('find_replace' === $this->profile['action']) {
    			$migration_args['stage'] = 'find_replace';
    		}
    
    		$this->post_data = apply_filters('wpmdb_cli_initiate_migration_args', $migration_args, $this->profile);
    
    		$this->post_data['site_details'] = json_encode($this->post_data['site_details']);
    
    		$response = $this->initiate_migration($this->post_data);
    
    		$initiate_migration_response = $this->verify_cli_response($response, 'initiate_migration()');