bbp_recount_list

  • apply_filters( 'bbp_recount_list', $recount_list )

    Source Reference:

    • Component: bbPress :: bbp-admin
      File: /bbp-admin/bbp-functions.php :: Trac Source Line: 172
      		35 => array( 'bbp-clean-favorites',        __( 'Remove trashed topics from user favorites',         'bbpress' ), 'bbp_recount_clean_favorites'      ),
      		40 => array( 'bbp-clean-subscriptions',    __( 'Remove trashed topics from user subscriptions',     'bbpress' ), 'bbp_recount_clean_subscriptions'  ),
      		//45 => array( 'bbp-topic-tag-count',        __( 'Count tags for every topic',                        'bbpress' ), 'bbp_recount_topic_tags'           ),
      		//50 => array( 'bbp-tags-tag-count',         __( 'Count topics for every tag',                        'bbpress' ), 'bbp_recount_tag_topics'           ),
      		//55 => array( 'bbp-tags-delete-empty',      __( 'Delete tags with no topics',                        'bbpress' ), 'bbp_recount_tag_delete_empty'     ),
      		60 => array( 'bbp-sync-all-topics-forums', __( 'Recalculate last activity in each topic and forum', 'bbpress' ), 'bbp_recount_rewalk'               )
      	);
      
      	ksort( $recount_list );
      	return apply_filters( 'bbp_recount_list', $recount_list );
      }
      
      /**
       * Recount topic replies
       *
       * @since bbPress (r2613)
       *
       * @uses bbp_get_reply_post_type() To get the reply post type
       * @uses wpdb::query() To run our recount sql queries
       * @uses is_wp_error() To check if the executed query returned {@link WP_Error}
      

Comments are closed.