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_posts | Returns whether or not there are any published posts. |
block_core_calendar_update_has_published_posts | Queries 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_delete | Handler for updating the has published posts flag when a post is deleted. |
block_core_calendar_update_has_published_post_on_transition_post_status | Handler for updating the has published posts flag when a post status changes. |
register_block_core_calendar | Registers the `core/calendar` block on server. |
render_block_core_calendar | Renders the `core/calendar` block on server. |