\Barn2\WRO_Lib\Plugin\License\AdminLicense_Notices

Handles the display of admin notices for the plugin license (e.g. license expired).

Summary

Methods
Properties
Constants
__construct()
register()
add_notices()
first_activation_notice()
expired_license_notice()
disabled_license_notice()
site_moved_notice()
cleanup_transients()
load_scripts()
ajax_dismiss_notice()
No public properties found
FIRST_ACTIVATION
EXPIRED
DISABLED
SITE_MOVED
No protected methods found
No protected properties found
N/A
maybe_add_notice()
dismiss_notice()
is_notice_dismissed()
get_notice_dismissed_transient_name()
$plugin
N/A

Constants

FIRST_ACTIVATION

FIRST_ACTIVATION = 'first_activation'

EXPIRED

EXPIRED = 'expired'

DISABLED

DISABLED = 'disabled'

SITE_MOVED

SITE_MOVED = 'site_moved'

Properties

$plugin

$plugin : \Barn2\WRO_Lib\Plugin\License\Admin\Licensable_Plugin

Type

\Barn2\WRO_Lib\Plugin\License\Admin\Licensable_Plugin — The plugin to handle notices for.

Methods

register()

register() 

add_notices()

add_notices() 

first_activation_notice()

first_activation_notice() 

expired_license_notice()

expired_license_notice() 

disabled_license_notice()

disabled_license_notice() 

site_moved_notice()

site_moved_notice() 

cleanup_transients()

cleanup_transients() 

load_scripts()

load_scripts() 

ajax_dismiss_notice()

ajax_dismiss_notice() 

maybe_add_notice()

maybe_add_notice(  $notice_type,   $notice_callback) 

Parameters

$notice_type
$notice_callback

dismiss_notice()

dismiss_notice(  $notice_type) 

Parameters

$notice_type

is_notice_dismissed()

is_notice_dismissed(  $notice_type) 

Parameters

$notice_type

get_notice_dismissed_transient_name()

get_notice_dismissed_transient_name(  $notice_type) 

Parameters

$notice_type