update_page_cache

函数
update_page_cache ( $pages )
参数
  • (array) $pages list of page objects
    Required:
相关
  • update_post_cache()
  • update_post_cache()
定义位置
相关方法
update_site_cacheupdate_term_cacheupdate_meta_cacheupdate_post_cacheupdate_post_caches
引入
1.5.1
弃用
3.4.0

update_page_cache: 这个函数更新页面缓存。它需要一个参数:$page_ids。$page_ids是一个需要更新缓存的页面的ID数组。

update_post_cache()的别名。

function update_page_cache( &$pages ) {
	_deprecated_function( __FUNCTION__, '3.4.0', 'update_post_cache()' );

	update_post_cache( $pages );
}

常见问题

FAQs
查看更多 >
闪电侠

(工作日 10:00 - 18:30 为您服务)

2025-12-14 11:36:30

您好,无论是售前、售后、意见建议……均可通过联系工单与我们取得联系。

您也可选择聊天工具与我们即时沟通或点击查看:

您的工单我们已经收到,我们将会尽快跟您联系!
取消
选择聊天工具: