This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.



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.


There are no reviews for this plugin.

Contributors & Developers

“WP_Registry” is open source software. The following people have contributed to this plugin.

Translate “WP_Registry” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Tested with WordPress 2.9, plugin is compatible


  • Initial plugin release