update_category_cache

函式
update_category_cache ( No parameters )
返回值
  • (bool) Always return True
定義位置
相關方法
update_term_cacheupdate_page_cacheupdate_site_cacheupdate_network_cacheclean_category_cache
引入
1.5.0
棄用
3.1.0

update_category_cache: 這個函式更新當前站點的類別資料的快取。每當一個類別被建立、更新或刪除時,它就被呼叫。

更新類別快取。

這個函式似乎不再被使用或似乎不需要。它可能是在需要更新類別快取時留下的一個遺留功能。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
function update_category_cache() {
_deprecated_function( __FUNCTION__, '3.1.0' );
return true;
}
function update_category_cache() { _deprecated_function( __FUNCTION__, '3.1.0' ); return true; }
function update_category_cache() {
	_deprecated_function( __FUNCTION__, '3.1.0' );

	return true;
}

常見問題

FAQs
檢視更多 >