WPDev.one
Core Function
View Source on Trac ↗

_wp_keep_alive_customize_changeset_dependent_auto_drafts()

_wp_keep_alive_customize_changeset_dependent_auto_drafts( mixed $new_status, mixed $old_status, mixed $post )

Makes sure that auto-draft posts get their post_date bumped or status changed

Parameters 3 required

Name / Type Description
$new_status
string

Transition to this post status.

Required
$old_status
string

Previous post status.

Required
$post
\WP_Post

Post data.

Required

Return Value

(void)
No return value description available.

Function Information

Since Version
4.8.0
Source File
wp-includes/theme.php
Advertisement