Location: PHPKode > projects > ezStats for XBOX Live > ezStats2_xbl/admin/plugins/wordpress292/file.php
<?php
/**
 * @package ezstats2_xbl
 * @author ezzemm
 * @version 1
 */
/*
Plugin Name: ezStats2 for XBOX Live
Plugin URI: http://www.ezstats.org
Description: Leaderboard for XBOX Live. Use following term for the displaying of ezStats within your article: [ezstats2_xbl]
Author: ezzemm
Author URI: http://www.ezstats.org
*/

function include_ezstats2_xbl($text) {
	$ch = curl_init("%PATH%");
	curl_setopt($ch, CURLOPT_HEADER, 0);
	curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 
	$output = curl_exec($ch);
	curl_close($ch);
	
	$text = str_replace("[ezstats2_xbl]", $output, $text);
	return $text;
}

add_filter('the_content', 'include_ezstats2_xbl');
?>
Return current item: ezStats for XBOX Live