全新外掛
安裝啟用
—
尚無評分
5935 天前
最後更新
—
問題解決
WordPress 2.8+ v0.1 上架:2009-12-05
內容簡介
此外掛提供一個全域可用的容器,用來儲存任何類型的值。Registry 為單例模式,您可以這樣在 Registry 內設定值:
WP_Registry::set( 'key', $value )
然後您可以隨時這樣檢索值:
WP_Registry::get( 'key' )
外掛標籤
開發者團隊
原文外掛簡介
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' )
