WordPress at a glance
function is not described

_wp_privacy_settings_filter_draft_page_titles() WP 4.9.8

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

No Hooks.


String. Page title.


_wp_privacy_settings_filter_draft_page_titles( $title, $page );
$title(string) (required)
Page title.
$page(WP_Post) (required)
Page data object.

Code of wp privacy settings filter draft page titles: wp-admin/includes/misc.php WP 5.2.2

function _wp_privacy_settings_filter_draft_page_titles( $title, $page ) {
	if ( 'draft' === $page->post_status && 'privacy' === get_current_screen()->id ) {
		/* translators: %s: Page Title */
		$title = sprintf( __( '%s (Draft)' ), $title );

	return $title;