bb_ksd_stats_display

The BuddyPress bb ksd stats display function.

Description

bb_ksd_stats_display(); 

Usage

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

Defined (1)

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

/bp-forums/bbpress/bb-plugins/akismet.php  
  1. function bb_ksd_stats_display() 
  2. $site = urlencode( bb_get_uri( null, null, BB_URI_CONTEXT_TEXT + BB_URI_CONTEXT_AKISMET ) ); 
  3. $url = "http://".bb_get_option( 'akismet_key' ).".web.akismet.com/1.0/user-stats.php?blog={$site}&type=forum"; 
  4. ?> 
  5. <iframe src="<?php echo $url; ?>" id="bb-ksd-stats-frame"></iframe> 
  6. <?php