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_start()
Bump the start within the current step
Description Description
Source Source
File: includes/admin/classes/class-bbp-converter.php
private function bump_start() { // Set rows in step from option $this->rows_in_step = get_option( '_bbp_converter_rows_in_step', 0 ); // Get rows to start from $start = (int) ( $this->start + $this->rows ); // Enforce maximum if exists if ( $this->rows_in_step > 0 ) { // Start cannot be larger than total rows if ( $start > $this->rows_in_step ) { $start = $this->rows_in_step; } // Max can't be greater than total rows if ( $this->max > $this->rows_in_step ) { $this->max = $this->rows_in_step; } } // Update the start option update_option( '_bbp_converter_start', $start ); }
Changelog Changelog
Version | Description |
---|---|
2.6.0 | Introduced. |