函数原型
clear_global_post_cache( int $post_id )
函数描述
Deprecated functionality to clear the global post cache.
是否弃用
Warning: This function has been deprecated. Use clean_post_cache() instead.
函数参数
-
$post_id
int
Required - Post ID.
函数返回值
无
函数位置
File: wp-includes/ms-deprecated.php.
函数源码
function clear_global_post_cache( $post_id ) {
_deprecated_function( __FUNCTION__, '3.0.0', 'clean_post_cache()' );
}
源码链接
变更日志
| Version | Description |
|---|---|
| 3.0.0 | Use clean_post_cache() |
| MU (3.0.0) | Introduced. |

