Legacy_Frontend_Notice implements Registerable, Standard_Service, Conditional
Displays a notice for existing installs still using the legacy frontend.
Tags
Interfaces, Classes and Traits
- Registerable
- Standard_Service
- Conditional
Table of Contents
- NOTICE_ID = 'ptp_legacy_frontend_notice'
- add_notice() : mixed
- Add the admin notice.
- is_required() : mixed
- {@inheritdoc}
- register() : mixed
- {@inheritdoc}
- is_legacy_frontend_enabled() : bool
- Determine whether the legacy frontend option is enabled.
Constants
NOTICE_ID
public
mixed
NOTICE_ID
= 'ptp_legacy_frontend_notice'
Tags
Methods
add_notice()
Add the admin notice.
public
add_notice() : mixed
Tags
Return values
mixed —is_required()
{@inheritdoc}
public
is_required() : mixed
Tags
Return values
mixed —register()
{@inheritdoc}
public
register() : mixed
Tags
Return values
mixed —is_legacy_frontend_enabled()
Determine whether the legacy frontend option is enabled.
private
is_legacy_frontend_enabled() : bool