WPDev.one
Core Function
View Source on Trac ↗

block_core_calendar_update_has_published_post_on_delete()

block_core_calendar_update_has_published_post_on_delete( mixed $post_id )

Handler for updating the has published posts flag when a post is deleted.

Parameters 1 required

Name / Type Description
$post_id
int

Deleted post ID.

Required

Return Value

(void)
No return value description available.

Function Information

Since Version
5.9.0
Source File
wp-includes/blocks/calendar.php
Advertisement