This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Astra_Cache_Base::cache_key_suffix()

Append queried object ID to cache if it is not 0


Description


Return

(Mixed) queried object id if that is not 0; else false.


Source

File: classes/cache/class-astra-cache-base.php

	private function cache_key_suffix() {
		return get_queried_object_id() !== 0 ? '-' . get_queried_object_id() : false;
	}

Changelog

Changelog
Version Description
2.1.0 Introduced.


User Contributed Notes

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