wpseek.com
A WordPress-centric search engine for devs and theme authors



wp-includes/blocks/calendar.php › WordPress File

Functions6
Server-side rendering of the `core/calendar` block.


Function Short description
block_core_calendar_has_published_postsReturns whether or not there are any published posts.
block_core_calendar_update_has_published_postsQueries the database for any published post and saves a flag whether any published post exists or not.
block_core_calendar_update_has_published_post_on_deleteHandler for updating the has published posts flag when a post is deleted.
block_core_calendar_update_has_published_post_on_transition_post_statusHandler for updating the has published posts flag when a post status changes.
register_block_core_calendarRegisters the `core/calendar` block on server.
render_block_core_calendarRenders the `core/calendar` block on server.