Function: _wp_privacy_settings_filter_draft_page_titles

_wp_privacy_settings_filter_draft_page_titles( string $title, WP_Post $page )

Appends '(Draft)' to draft page titles in the privacy page dropdown so that unpublished content is obvious.

Shortcut: wpsfdpt

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
$title string

Page title.

$page WP_Post

Page data object.



Page title.

WordPress Developer Newsletter

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