# css-javascript-toolbox/12.0.7/framework/wordpress/currentversion.php

CSS &amp; JavaScript Toolbox, version 12.0.7. 45 lines.

- Page: https://pluginprobe.com/plugins/css-javascript-toolbox/12.0.7/code/framework/wordpress/currentversion.php
- Raw: https://pluginprobe.com/plugins/css-javascript-toolbox/12.0.7/raw/framework/wordpress/currentversion.php
- Modified: 2026-08-26T15:02:26+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/css-javascript-toolbox/12.0.7/code/framework/wordpress/currentversion.php#L10-L20`.

```php
<?php
/**
* 
*/

/**
* 
*/
class CJT_Framework_Wordpress_Currentversion {
	
	/**
	* put your comment there...
	* 
	* @var mixed
	*/
	protected $version;
	
	/**
	* put your comment there...
	* 
	*/
	public function __construct() {
		// Read current version.
		$this->version = get_bloginfo('version');
	}

	/**
	* put your comment there...
	* 
	*/
	public function getVersion() {
		return $this->version;
	}

	/**
	* put your comment there...
	* 
	* @param mixed $version
	*/
	public function isLess($version) {
		return (version_compare($this->getVersion(), $version) == -1);
	}

} // End class.

```
