Notices
in package

Tags
since
3.7.0

Table of Contents

$capabilities  : mixed
$notices  : mixed
$passedNotices  : mixed
__construct()  : mixed
addActions()  : mixed
checkCapabilities()  : mixed
displayNotice()  : mixed
displayNotices()  : mixed
forceUpgradeNotice()  : string
hideNotice()  : mixed
isActualNotice()  : mixed
showNotice()  : mixed
updateEndpointsNotice()  : string
loadPassedNotices()  : mixed

Properties

$capabilities

protected mixed $capabilities = array( // Notice ID => Required capabilities 'force_upgrade' => array(), 'update_confirmation_endpoints' => array('manage_options', 'edit_pages'), )

$notices

protected mixed $notices = array( // Notice ID => Render callback 'force_upgrade' => 'forceUpgradeNotice', 'update_confirmation_endpoints' => 'updateEndpointsNotice', )

$passedNotices

protected mixed $passedNotices = array()

Methods

__construct()

public __construct() : mixed
Return values
mixed

addActions()

public addActions() : mixed
Return values
mixed

checkCapabilities()

public checkCapabilities(mixed $noticeId) : mixed
Parameters
$noticeId : mixed
Return values
mixed

displayNotice()

public displayNotice(mixed $noticeId, mixed $renderMethod) : mixed
Parameters
$noticeId : mixed
$renderMethod : mixed
Return values
mixed

displayNotices()

public displayNotices() : mixed
Return values
mixed

forceUpgradeNotice()

public forceUpgradeNotice(string $actionUrl, string $cancelUrl) : string
Parameters
$actionUrl : string
$cancelUrl : string
Return values
string

Notice HTML.

hideNotice()

public hideNotice(mixed $noticeId) : mixed
Parameters
$noticeId : mixed
Return values
mixed

isActualNotice()

public isActualNotice(mixed $noticeId) : mixed
Parameters
$noticeId : mixed
Return values
mixed

showNotice()

public showNotice(mixed $noticeId) : mixed
Parameters
$noticeId : mixed
Return values
mixed

updateEndpointsNotice()

public updateEndpointsNotice(string $actionUrl, string $cancelUrl) : string
Parameters
$actionUrl : string
$cancelUrl : string
Return values
string

Notice HTML.

loadPassedNotices()

protected loadPassedNotices() : mixed
Return values
mixed

Search results