mapping['user_slug'][ $current_user_obj->user_login ] = $current_user_obj->ID; } /** * Get all protected variables from the WXR_Importer needed for continuing the import. */ public function get_importer_data() { return array( 'mapping' => $this->mapping, ); } /** * Sets all protected variables from the WXR_Importer needed for continuing the import. * * @param array $data with set variables. */ public function set_importer_data( $data ) { // phpcs:ignore -- Commented out code for now. // $this->mapping = empty( $data['mapping'] ) ? array() : $data['mapping']; // $this->requires_remapping = empty( $data['requires_remapping'] ) ? array() : $data['requires_remapping']; } }