Documentation

ImportMessages

Trait to handle messages output.

Table of Contents

Methods

addMessageBannerLinkPageId()  : mixed
Add message for banner link with configured page ID.
addMessageBlockerVisualMediaThumbnail()  : mixed
Add message for blocker with configured media library item
addMessageCookieAssignFailure()  : mixed
Cookie could not be assigned to cookie.
addMessageCookieGroupUpdatedInfo()  : mixed
Cookie group is not created instead it was updated.
addMessageCookieGroupUpdateFailure()  : mixed
Cookie group could not be updated.
addMessageCreateFailure()  : mixed
`wp_insert_post` failed for given type.
addMessageCreateFailureImportingProInFreeVersion()  : mixed
User is trying to import PRO template in free version.
addMessageCreateFailureImportingTemplateButNoLicenseActive()  : mixed
User is trying to import template without license active, so a synchronization is never possible.
addMessageMissingProperties()  : mixed
A type definition is incorrect.
addMessageOptionMultisite()  : mixed
Multisite options can not be imported due to reference issues.
addMessageOptionOutdated()  : mixed
Option not related to RCB.
addMessageOptionRelatesMedia()  : mixed
An option relates to a media, it can never be imported.
addMessageOptionRelatesPageId()  : mixed
An option relates to a page ID, it can never be imported.
addMessageSkipExistingBannerLink()  : mixed
The banner link got not created because already exists.
addMessageSkipExistingBlocker()  : mixed
The content blocker got not created because already exists.
addMessageSkipExistingCookie()  : mixed
The cookie got not created because already exists.
addMessageSkipExistingTcfVendorConfiguration()  : mixed
The TCF vendor configuration got not created because already exists.
addMessageUpdateOptionFailure()  : mixed
`update_option` failured.
addMessageWrongUsageKey()  : mixed
A top-level cookie type has incorrect scheme.
probablyAddMessageBlockerAssociation()  : mixed
Add message for non-associated cookies / TCF vendors.
probablyAddMessageCookieGroupNotFound()  : mixed
The cookie could not be associated to the given group, did fallback.
probablyAddMessageDuplicateBlocker()  : mixed
The content blocker got duplicated.
probablyAddMessageDuplicateCookie()  : mixed
The cookie got duplicated.
probablyAddMessageSettingOnlyPro()  : mixed
A PRO-only setting can not be imported in lite.

Methods

addMessageBannerLinkPageId()

Add message for banner link with configured page ID.

protected addMessageBannerLinkPageId(string $post_title) : mixed
Parameters
$post_title : string

addMessageBlockerVisualMediaThumbnail()

Add message for blocker with configured media library item

protected addMessageBlockerVisualMediaThumbnail(string $post_title, int $blockerId) : mixed
Parameters
$post_title : string
$blockerId : int

addMessageCookieAssignFailure()

Cookie could not be assigned to cookie.

protected addMessageCookieAssignFailure(int $postId, WP_Error $error) : mixed
Parameters
$postId : int
$error : WP_Error

addMessageCookieGroupUpdatedInfo()

Cookie group is not created instead it was updated.

protected addMessageCookieGroupUpdatedInfo(string $name) : mixed
Parameters
$name : string

addMessageCookieGroupUpdateFailure()

Cookie group could not be updated.

protected addMessageCookieGroupUpdateFailure(string $name, WP_Error $error) : mixed
Parameters
$name : string
$error : WP_Error

addMessageCreateFailure()

`wp_insert_post` failed for given type.

protected addMessageCreateFailure(string $post_title, string $type, WP_Error $error) : mixed
Parameters
$post_title : string
$type : string
$error : WP_Error

addMessageCreateFailureImportingProInFreeVersion()

User is trying to import PRO template in free version.

protected addMessageCreateFailureImportingProInFreeVersion(string $post_title) : mixed
Parameters
$post_title : string

addMessageCreateFailureImportingTemplateButNoLicenseActive()

User is trying to import template without license active, so a synchronization is never possible.

protected addMessageCreateFailureImportingTemplateButNoLicenseActive(string $post_title) : mixed
Parameters
$post_title : string

addMessageMissingProperties()

A type definition is incorrect.

protected addMessageMissingProperties(int $index, string $type, string $properties) : mixed
Parameters
$index : int
$type : string
$properties : string

addMessageOptionMultisite()

Multisite options can not be imported due to reference issues.

protected addMessageOptionMultisite(string $name, string $key) : mixed
Parameters
$name : string
$key : string

addMessageOptionOutdated()

Option not related to RCB.

protected addMessageOptionOutdated(string $key) : mixed
Parameters
$key : string

addMessageOptionRelatesMedia()

An option relates to a media, it can never be imported.

protected addMessageOptionRelatesMedia(string $name, string $key) : mixed
Parameters
$name : string
$key : string

addMessageOptionRelatesPageId()

An option relates to a page ID, it can never be imported.

protected addMessageOptionRelatesPageId(string $name, string $key) : mixed
Parameters
$name : string
$key : string

The banner link got not created because already exists.

protected addMessageSkipExistingBannerLink(string $post_name) : mixed
Parameters
$post_name : string

addMessageSkipExistingBlocker()

The content blocker got not created because already exists.

protected addMessageSkipExistingBlocker(string $post_name) : mixed
Parameters
$post_name : string

addMessageSkipExistingCookie()

The cookie got not created because already exists.

protected addMessageSkipExistingCookie(string $post_name) : mixed
Parameters
$post_name : string

addMessageSkipExistingTcfVendorConfiguration()

The TCF vendor configuration got not created because already exists.

protected addMessageSkipExistingTcfVendorConfiguration(int $vendorId) : mixed
Parameters
$vendorId : int

addMessageUpdateOptionFailure()

`update_option` failured.

protected addMessageUpdateOptionFailure(string $optionName) : mixed
Parameters
$optionName : string

addMessageWrongUsageKey()

A top-level cookie type has incorrect scheme.

protected addMessageWrongUsageKey(string $type) : mixed
Parameters
$type : string

probablyAddMessageBlockerAssociation()

Add message for non-associated cookies / TCF vendors.

protected probablyAddMessageBlockerAssociation(int $count, int $associatedCount, string $post_title, int $blockerId) : mixed
Parameters
$count : int
$associatedCount : int
$post_title : string
$blockerId : int

probablyAddMessageCookieGroupNotFound()

The cookie could not be associated to the given group, did fallback.

protected probablyAddMessageCookieGroupNotFound(bool $groupNotFound, string $post_title, int $group, int $created) : mixed
Parameters
$groupNotFound : bool
$post_title : string
$group : int
$created : int

probablyAddMessageDuplicateBlocker()

The content blocker got duplicated.

protected probablyAddMessageDuplicateBlocker(bool|WP_Post $found, string $post_name, int $original, int $duplicate) : mixed
Parameters
$found : bool|WP_Post
$post_name : string
$original : int
$duplicate : int

probablyAddMessageDuplicateCookie()

The cookie got duplicated.

protected probablyAddMessageDuplicateCookie(bool|WP_Post $found, string $post_name, int $group, int $created) : mixed
Parameters
$found : bool|WP_Post
$post_name : string
$group : int
$created : int

probablyAddMessageSettingOnlyPro()

A PRO-only setting can not be imported in lite.

protected probablyAddMessageSettingOnlyPro(bool $onlyPro, string $key) : mixed
Parameters
$onlyPro : bool
$key : string

        
On this page

Search results