Revision_Policy_Notice
Revision policy notice class.
Namespace: WebberZone\AutoClose\Admin
Since: 3.2.0
Source: includes/admin/class-revision-policy-notice.php line 21
Methods
should_display()
Whether the notice should be shown to the current user.
Only sites with scheduled revision deletion already enabled are affected by the policy change, so the notice is limited to those.
Since: 3.2.0
Line: 49
public function should_display( ): bool;
Returns: bool — True when the notice applies.
maybe_dismiss()
Handle the dismissal request.
Since: 3.2.0
Line: 66
public function maybe_dismiss( ): void;
Returns: void
display()
Render the notice.
Since: 3.2.0
Line: 88
public function display( ): void;
Returns: void