Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
BBP_Converter::step_users()
Maybe convert users
Description Description
Source Source
File: includes/admin/classes/class-bbp-converter.php
private function step_users() {
if ( true === $this->converter->convert_users ) {
if ( $this->converter->convert_users( $this->start ) ) {
$this->bump_step();
empty( $this->start )
? $this->converter_response( esc_html__( 'No users to import', 'bbpress' ) )
: $this->converter_response( esc_html__( 'All users imported', 'bbpress' ) );
} else {
$this->bump_start();
$this->converter_response( sprintf( esc_html__( 'Converting users (%1$s through %2$s of %3$s)', 'bbpress' ), $this->start, $this->max, $this->rows_in_step ) );
}
} else {
$this->bump_step();
$this->converter_response( esc_html__( 'Skipping user clean-up', 'bbpress' ) );
}
}
Changelog Changelog
| Version | Description |
|---|---|
| 2.6.0 | Introduced. |