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

function include_ezStats2_psn($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_psn]", $output, $text);
	return $text;
}

add_filter('the_content', 'include_ezStats2_psn');
?>
Return current item: ezStats for PlayStation Network