LLMS_Comments::delete_comments_count_cache()

Delete transient data when inserting new comments or updating comment status


Description Description

Next time wp_count_comments is called it’ll be automatically regenerated


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/class.llms.comments.php

	public static function delete_comments_count_cache() {
		delete_transient( self::$count_transient_key );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.37.12 Use class variable to access the transient key name.
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.