WP_Registry

Plugin Banner

WP_Registry

by Jan Gorman

Download
Description

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' ) 
  1. Upload wp_registry.php to the /wp-content/plugins/ directory
  2. 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.

0.2

  • Tested with WordPress 2.9, plugin is compatible

0.1

  • Initial plugin release
Back to top