WP_Privacy_Policy_Content::notice

SummerySummery

Add a notice with a link to the guide when editing the privacy policy page.

Syntax

WP_Privacy_Policy_Content::notice( WP_Post|null $post = null )

ParametersParameters

$post

(WP_Post|null) (Optional) The currently edited post.

Default value: null

SourceSource

File: wp-admin/includes/class-wp-privacy-policy-content.php


			

ChangelogChangelog

Changelog
Version Description
5.0.0 The $post parameter was made optional.
4.9.6 Introduced.
Scroll to Top