Uses
Uses | Description |
---|---|
wp-includes/cache.php: wp_cache_delete() | Removes the cache contents matching key and group. |
wp-includes/taxonomy.php: clean_object_term_cache() | Removes the taxonomy relationship to terms from the cache. |
Deletes the bookmark cache.
(int) (Required) Bookmark ID.
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' ); }
Version | Description |
---|---|
2.7.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/clean_bookmark_cache