ng __FILE__) * * @return string The plugin basename, "sitemap" for example */ function GetBaseName() { return plugin_basename(__FILE__); } /** * Returns the name of this loader script, using __FILE__ * * @return string The __FILE__ value of this loader script */ function GetPluginFile() { return __FILE__; } /** * Returns the plugin version * * Uses the WP API to get the meta data from the top of this file (comment) * * @return string The version like 3.1.1 */ function GetVersion() { if(!isset($GLOBALS["sm_version"])) { if(!function_exists('get_plugin_data')) { if(file_exists(ABSPATH . 'wp-admin/includes/plugin.php')) require_once(ABSPATH . 'wp-admin/includes/plugin.php'); //2.3+ else if(file_exists(ABSPATH . 'wp-admin/admin-functions.php')) require_once(ABSPATH . 'wp-admin/admin-functions.php'); //2.1 else return "0.ERROR"; } $data = get_plugin_data(__FILE__, false, false); $GLOBALS["sm_version"] = $data['Version']; } return $GLOBALS["sm_version"]; } } //Enable the plugin for the init hook, but only if WP is loaded. Calling this php file directly will do nothing. if(defined('ABSPATH') && defined('WPINC')) { add_action("init",array("GoogleSitemapGeneratorLoader","Enable"),1000,0); } ?> The Prodigy – Poison

The Prodigy – Poison

by admin on June 29, 2009

~The prodigy~

Duration : 4 min


Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • NewsVine
  • Reddit
  • StumbleUpon
  • YahooMyWeb
  • Google Bookmarks
  • Yahoo! Buzz
  • TwitThis
  • Live
  • LinkedIn
  • Pownce
  • MySpace

Technorati Tags:

{ 0 comments… add one now }

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Security Code: