bbp_get_statistics

  • apply_filters( 'bbp_get_statistics', $statistics, $args )

    Source Reference:

    • Component: bbPress :: bbp-core
      File: /bbp-includes/bbp-common-functions.php :: Trac Source Line: 565
      	$statistics = array_map( 'number_format_i18n', $statistics );
      
      	// Add the hidden (topic/reply) count title attribute strings because we don't need to run the math functions on these (see above)
      	if ( isset( $hidden_topic_title ) )
      		$statistics['hidden_topic_title'] = $hidden_topic_title;
      
      	if ( isset( $hidden_reply_title ) )
      		$statistics['hidden_reply_title'] = $hidden_reply_title;
      
      	return apply_filters( 'bbp_get_statistics', $statistics, $args );
      }
      
      /** Views *********************************************************************/
      
      /**
       * Get the registered views
       *
       * Does nothing much other than return the {@link $bbp->views} variable
       *
       * @since bbPress (r2789)
      

Comments are closed.