Alert: 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.
__clear_multi_author_cache() WordPress Function
The clear_multi_author_cache() function is used to clear the cache for all authors on a site. This function is useful when you need to make sure that all authors are using the most up-to-date information.
__clear_multi_author_cache() #
Helper function to clear the cache for number of authors.
Source
File: wp-includes/author-template.php
function __clear_multi_author_cache() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionDoubleUnderscore,PHPCompatibility.FunctionNameRestrictions.ReservedFunctionNames.FunctionDoubleUnderscore delete_transient( 'is_multi_author' ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
3.2.0 | Introduced. |