WP_Registry
·
The plugin provides a globally accessible container for storing values of any kind.
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' )
This plugin is available for download for your site.