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::bump_step()

Bump the step and reset the start


Description Description


Source Source

File: includes/admin/classes/class-bbp-converter.php

	private function bump_step() {

		// Next step
		$next_step = (int) ( $this->step + 1 );

		// Don't let step go over max
		$step = ( $next_step <= $this->max_steps )
			? $next_step
			: 0;

		// Update step and start at 0
		update_option( '_bbp_converter_step',         $step );
		update_option( '_bbp_converter_start',        0     );
		update_option( '_bbp_converter_rows_in_step', 0     );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
2.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.