_bbp_akismet_optimize_table
_bbp_akismet_optimize_table
Appears in: bbpress.2.6.11, bbpress.2.6.9
Hook Type: filter
Displaying hooks found in version: bbpress.2.6.9apply_filters('_bbp_akismet_optimize_table') is found 1 times:
- /includes/extend/akismet.php line 1263
* Determines whether tables should be optimized. * * @param int Random number between 1 and 5000. */ $optimize = (int) apply_filters( '_bbp_akismet_optimize_table', mt_rand( 1, 5000 ), $wpdb->postmeta ); // Lucky number 11 if ( 11 === $optimize ) { $wpdb->query( "OPTIMIZE TABLE {$wpdb->postmeta}" ); } }