Title: wp_calendar_block_has_published_posts
Last modified: May 11, 2023

---

# wp_calendar_block_has_published_posts

 *  Resolved [ms100](https://wordpress.org/support/users/ms100/)
 * (@ms100)
 * [3 years ago](https://wordpress.org/support/topic/wp_calendar_block_has_published_posts/)
 * Hello support,
 * Hope you are doing well today.
 * Cleaning up a database I found _wp\_calendar\_block\_has\_published\_posts_ in
   wp_options.
 * When the Gutenberg plugin is not installed, can I safely remove this?
 * Or is this not coming from the Gutenberg plugin?
 * Thanks in advance.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [thelmachido a11n](https://wordpress.org/support/users/thelmachido/)
 * (@thelmachido)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/wp_calendar_block_has_published_posts/#post-16738122)
 * > Cleaning up a database I found _wp\_calendar\_block\_has\_published\_posts_
   > in wp_options.
 * Hi [@ms100](https://wordpress.org/support/users/ms100/) yes, that is part of 
   the calendar.php file for Gutenberg. It is part of the query that is used to 
   return whether or not there are any published posts. You can view more information
   about the function here:
 * [https://github.com/WordPress/wordpress-develop/blob/002a3e38dd9e2bfa4a8dae9e27ce873c50541508/src/wp-includes/blocks/calendar.php#L111](https://github.com/WordPress/wordpress-develop/blob/002a3e38dd9e2bfa4a8dae9e27ce873c50541508/src/wp-includes/blocks/calendar.php#L111)
 * However, you might not need this option if you are using a different page builder
   for your site. But don’t delete it because of what I have shared, you should 
   keep a backup of your site if you decide to proceed.
 *  Thread Starter [ms100](https://wordpress.org/support/users/ms100/)
 * (@ms100)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/wp_calendar_block_has_published_posts/#post-16741431)
 * Hi [@thelmachido](https://wordpress.org/support/users/thelmachido/)
 * Thanks for the reply.
 * Do I understand correctly this is part of the WordPress core?
   (Then I will not
   touch it.)
 * I am just cleaning up plugin leftovers.
 * [This is why I thought it came from the plugin.](https://wpdirectory.net/search/01H0J616S90HJEV1Z6FFQKSDF8)
 * Thanks again 🙂
 *  [thelmachido a11n](https://wordpress.org/support/users/thelmachido/)
 * (@thelmachido)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/wp_calendar_block_has_published_posts/#post-16741680)
 * Hi [@ms100](https://wordpress.org/support/users/ms100/) these are the [WP core files](https://codex.wordpress.org/WordPress_Files),
   it is possible that these haven’t been updated.
 * I think that is for the block editor which is also called the Gutenberg editor,
   how it calls published posts etc.
 *  Thread Starter [ms100](https://wordpress.org/support/users/ms100/)
 * (@ms100)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/wp_calendar_block_has_published_posts/#post-16742045)
 * Thanks a lot [@thelmachido](https://wordpress.org/support/users/thelmachido/)
   I’ll leave the row as it is. Have a great day 🙂 I’ll mark as resolved.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘wp_calendar_block_has_published_posts’ is closed to new replies.

 * ![](https://ps.w.org/gutenberg/assets/icon-256x256.jpg?rev=1776042)
 * [Gutenberg](https://wordpress.org/plugins/gutenberg/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gutenberg/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gutenberg/)
 * [Active Topics](https://wordpress.org/support/plugin/gutenberg/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gutenberg/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gutenberg/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [ms100](https://wordpress.org/support/users/ms100/)
 * Last activity: [2 years, 12 months ago](https://wordpress.org/support/topic/wp_calendar_block_has_published_posts/#post-16742045)
 * Status: resolved