wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



clean_bookmark_cache › WordPress Function

Depuis2.7.0
Dépréciéen/a
clean_bookmark_cache ( $bookmark_id )
Paramètres:
  • (int) $bookmark_id Bookmark ID.
    Requis: Oui
Défini(e) dans:
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' );
}