OPTION_NAME_ADMIN_NOTICE_LICENSE_DISMISSED_DAY_PREFIX
OPTION_NAME_ADMIN_NOTICE_LICENSE_DISMISSED_DAY_PREFIX =RPM_WP_CLIENT_OPT_PREFIX . '-noticeLicenseDismissDay_'
Plugin update view handling. E. g. add links to the plugins row in plugins list.
$pluginUpdate :\DevOwl\RealProductManagerWpClient\PluginUpdate
Plugin update instance.
instance(\DevOwl\RealProductManagerWpClient\PluginUpdate $pluginUpdate)
New instance.
\DevOwl\RealProductManagerWpClient\PluginUpdate | $pluginUpdate |
getAdminNoticeLicenseText(boolean $allowFirstDays = false)
Get the admin notice text for not-fully licensed plugins. Returns `false` if the admin notice should not be shown. Returns `[true, 'text']` if a notice should be shown and is dismissible.
Returns [false, 'text']
for a permanent notice.
boolean | $allowFirstDays | If |
__construct(\DevOwl\RealProductManagerWpClient\PluginUpdate $pluginUpdate)
C'tor.
\DevOwl\RealProductManagerWpClient\PluginUpdate | $pluginUpdate |