wpseek.com
A WordPress-centric search engine for devs and theme authors



clean_bookmark_cache › WordPress Function

Since2.7.0
Deprecatedn/a
clean_bookmark_cache ( $bookmark_id )
Parameters:
  • (int) $bookmark_id Bookmark ID.
    Required: Yes
Defined at:
Codex:

Deletes the bookmark cache.



Source

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