clean_bookmark_cache

函数


clean_bookmark_cache ( $bookmark_id )
参数
  • (int)
    $bookmark_id
    Bookmark ID.
    Required:
定义位置
  • wp-includes/bookmark.php
    , line 464
引入
2.7.0
弃用

Deletes the bookmark cache.

function clean_bookmark_cache( $bookmark_id ) {
	wp_cache_delete( $bookmark_id, 'bookmark' );
	wp_cache_delete( 'get_bookmarks', 'bookmark' );
	clean_object_term_cache( $bookmark_id, 'link' );
}