__clear_multi_author_cache()
Helper function to clear the cache for number of authors.
Internal function — this function is designed to be used by the kernel itself. It is not recommended to use this function in your code.
No Hooks.
Return
null
. Nothing (null).
Usage
__clear_multi_author_cache();
Changelog
Since 3.2.0 | Introduced. |
__clear_multi_author_cache() clear multi author cache code WP 6.6.2
function __clear_multi_author_cache() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionDoubleUnderscore,PHPCompatibility.FunctionNameRestrictions.ReservedFunctionNames.FunctionDoubleUnderscore delete_transient( 'is_multi_author' ); }