clean_bookmark_cache( int $bookmark_id )

Deletes the bookmark cache.


Parameters

$bookmark_id

(Required) Bookmark ID.


Source

File: wp-includes/bookmark.php

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');
}


Changelog

Changelog
Version Description
WP-2.7.0 Introduced.