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_Base::count_rows_by_table( string $table_name = '' )
Update the number of rows in the current step
Description Description
Parameters Parameters
- $table_name
-
(Optional) The literal MySQL query
Default value: ''
Return Return
(bool)
Source Source
File: includes/admin/classes/class-bbp-converter-base.php
private function count_rows_by_table( $table_name = '' ) { $count = (int) $this->opdb->get_var( "SELECT COUNT(*) FROM {$table_name}" ); return update_option( '_bbp_converter_rows_in_step', $count ); }
Changelog Changelog
Version | Description |
---|---|
2.6.0 | Introduced. |