| 开发者 | Jan Gorman |
|---|---|
| 更新时间 | 2009年12月18日 06:15 |
| PHP版本: | 2.8 及以上 |
| WordPress版本: | 2.9 |
WP_Registry::set( 'key', $value )
which can then be retrieved at any time like this:
WP_Registry::get( 'key' )
wp_registry.php to the /wp-content/plugins/ directoryThis is a PHP 5+ plugin only. Internally it uses the SPL ArrayObject for data storage. Making PHP5 a requirement.