Function: _wp_delete_customize_changeset_dependent_auto_drafts

_wp_delete_customize_changeset_dependent_auto_drafts( integer $post_id )

Delete auto-draft posts associated with the supplied changeset.

Shortcut: wdccdad

You can use above key combination to trigger the associated snippet for this function in the WordPress Snippets for Visual Studio Code extension. You can also use this shortcut to search for this function on this website.


Name Type(s) Default Value Description
$post_id integer

Post ID for the customize_changeset.

WordPress Developer Newsletter

Stay informed of new chapter releases, important WordPress API updates and more.