Title: delete_get_calendar_cache
Published: April 25, 2014
Last modified: February 24, 2026

---

# delete_get_calendar_cache()

## In this article

 * [Description](https://developer.wordpress.org/reference/functions/delete_get_calendar_cache/?output_format=md#description)
    - [See also](https://developer.wordpress.org/reference/functions/delete_get_calendar_cache/?output_format=md#see-also)
 * [Source](https://developer.wordpress.org/reference/functions/delete_get_calendar_cache/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/functions/delete_get_calendar_cache/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/functions/delete_get_calendar_cache/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/functions/delete_get_calendar_cache/?output_format=md#wp--skip-link--target)

Purges the cached results of get_calendar.

## 󠀁[Description](https://developer.wordpress.org/reference/functions/delete_get_calendar_cache/?output_format=md#description)󠁿

### 󠀁[See also](https://developer.wordpress.org/reference/functions/delete_get_calendar_cache/?output_format=md#see-also)󠁿

 * [get_calendar()](https://developer.wordpress.org/reference/functions/get_calendar/)

## 󠀁[Source](https://developer.wordpress.org/reference/functions/delete_get_calendar_cache/?output_format=md#source)󠁿

    ```php
    function delete_get_calendar_cache() {
    	wp_cache_delete( 'get_calendar', 'calendar' );
    }
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-includes/general-template.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/6.9.4/src/wp-includes/general-template.php#L2609)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/general-template.php#L2609-L2611)

## 󠀁[Related](https://developer.wordpress.org/reference/functions/delete_get_calendar_cache/?output_format=md#related)󠁿

| Uses | Description | 
| [wp_cache_delete()](https://developer.wordpress.org/reference/functions/wp_cache_delete/)`wp-includes/cache.php` |

Removes the cache contents matching key and group.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/functions/delete_get_calendar_cache/?output_format=md#changelog)󠁿

| Version | Description | 
| [2.1.0](https://developer.wordpress.org/reference/since/2.1.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Ffunctions%2Fdelete_get_calendar_cache%2F)
before being able to contribute a note or feedback.