The plugin provides a globally accessible container for storing values of any kind. The Registry is a singleton and you can set values inside the registry like this:
WP_Registry::set( 'key', $value )
which can then be retrieved at any time like this:
WP_Registry::get( 'key' )
- Activate the plugin through the ‘Plugins’ menu in WordPress
Which version of PHP is required?
This is a PHP 5+ plugin only. Internally it uses the SPL ArrayObject for data storage. Making PHP5 a requirement.
Contributors & Developers
“WP_Registry” is open source software. The following people have contributed to this plugin.
- Tested with WordPress 2.9, plugin is compatible
- Initial plugin release