clean_bookmark_cache

Definition:
function clean_bookmark_cache($bookmark_id) {}

Deletes bookmark cache

Parameters

  • $bookmark_id

Source code

function clean_bookmark_cache($bookmark_id) {

	wp_cache_delete( $bookmark_id, 'bookmark' );

	wp_cache_delete( 'get_bookmarks', 'bookmark' );

}

617

No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: