bb_recount_list

Recounts.

Description

bb_recount_list(); 

Usage

  1. if ( !function_exists( 'bb_recount_list' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress/bp-forums/bbpress/bb-admin/includes/functions.bb-admin.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bb_recount_list(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/bp-forums/bbpress/bb-admin/includes/functions.bb-admin.php  
  1. function bb_recount_list() 
  2. global $recount_list; 
  3. $recount_list = array( 
  4. 5 => array( 'topic-posts', __( 'Count posts of every topic' ) ),  
  5. 6 => array( 'topic-voices', __( 'Count voices of every topic' ) ),  
  6. 10 => array( 'topic-deleted-posts', __( 'Count deleted posts on every topic' ) ),  
  7. 15 => array( 'forums', __( 'Count topics and posts in every forum' ) ),  
  8. 20 => array( 'topics-replied', __( 'Count topics to which each user has replied' ) ),  
  9. 25 => array( 'topic-tag-count', __( 'Count tags for every topic' ) ),  
  10. 30 => array( 'tags-tag-count', __( 'Count topics for every tag' ) ),  
  11. 35 => array( 'tags-delete-empty', __( 'Delete tags with no topics' ) ),  
  12. 40 => array( 'clean-favorites', __( 'Remove deleted topics from users\' favorites' ) ) 
  13. ); 
  14. ksort( $recount_list ); 
  15. return $recount_list;