API Documentation
Table of Contents
Namespaces
Constants
- DEVOWL_MULTILINGUAL_OPT_PREFIX = 'devowl-multilingual'
- DEVOWL_MULTILINGUAL_ROOT_SLUG = 'devowl-wp'
- DEVOWL_MULTILINGUAL_SLUG = 'multilingual'
- DEVOWL_MULTILINGUAL_SLUG_CAMELCASE = lcfirst(str_replace('-', '', ucwords(DEVOWL_MULTILINGUAL_SLUG, '-')))
- DEVOWL_MULTILINGUAL_TD = DEVOWL_MULTILINGUAL_ROOT_SLUG . '-' . DEVOWL_MULTILINGUAL_SLUG
- DEVOWL_MULTILINGUAL_VERSION = filemtime(__FILE__)
- RCB_PRO_VERSION = $translatedUrl
- RCB_TD = $this->getPluginData('TextDomain')
- RCB_VERSION = $this->getPluginData('Version')
- REAL_QUEUE_DB_PREFIX = 'real_queue'
- REAL_QUEUE_OPT_PREFIX = 'real-queue'
- REAL_QUEUE_ROOT_SLUG = 'devowl-wp'
- REAL_QUEUE_SLUG = 'real-queue'
- REAL_QUEUE_SLUG_CAMELCASE = lcfirst(str_replace('-', '', ucwords(REAL_QUEUE_SLUG, '-')))
- REAL_QUEUE_TD = REAL_QUEUE_ROOT_SLUG . '-' . REAL_QUEUE_SLUG
- REAL_QUEUE_VERSION = filemtime(__FILE__)
- REAL_UTILS_ROOT_SLUG = 'devowl-wp'
- REAL_UTILS_SLUG = 'real-utils'
- REAL_UTILS_SLUG_CAMELCASE = lcfirst(str_replace('-', '', ucwords(REAL_UTILS_SLUG, '-')))
- REAL_UTILS_TD = REAL_UTILS_ROOT_SLUG . '-' . REAL_UTILS_SLUG
- REAL_UTILS_VERSION = filemtime(__FILE__)
- RPM_WP_CLIENT_OPT_PREFIX = 'rpm-wpc'
- RPM_WP_CLIENT_ROOT_SLUG = 'devowl-wp'
- RPM_WP_CLIENT_SLUG = 'real-product-manager-wp-client'
- RPM_WP_CLIENT_SLUG_CAMELCASE = lcfirst(str_replace('-', '', ucwords(RPM_WP_CLIENT_SLUG, '-')))
- RPM_WP_CLIENT_TD = RPM_WP_CLIENT_ROOT_SLUG . '-' . RPM_WP_CLIENT_SLUG
- RPM_WP_CLIENT_VERSION = filemtime(__FILE__)
Functions
- wp_rcb_consent_given() : mixed
- Check if a given technical information (e.g. HTTP Cookie, LocalStorage, ...) has a consent:
- wp_rcb_invalidate_templates_cache() : mixed
- Invalidate all template caches so they gets recalculated (this does not necessarily download from cloud API!).
- wp_rcb_invalidate_presets_cache() : mixed
- Invalidate all template caches so they gets recalculated.
- wp_rcb_service_groups() : mixed
- Get a list of all existing service groups.
- wp_rcb_services_by_group() : mixed
- Get a list of all existing services within a group.
- rcb_skip_already_admin_notice() : mixed
- Show an admin notice to administrators when the plugin is already active.
- rcb_skip_already_deactivate_lite() : mixed
- Automatically deactivate lite version when we try to activate the PRO version.
- rcb_skip_php_admin_notice() : mixed
- Show an admin notice to administrators when the minimum PHP version could not be reached. The error message is only in english available.
- rcb_skip_rest_admin_notice() : mixed
- Show an admin notice to administrators when the minimum WP version could not be reached. The error message is only in english available.
- rcb_skip_wp_admin_notice() : mixed
- Show an admin notice to administrators when the minimum WP version could not be reached. The error message is only in english available.
Constants
DEVOWL_MULTILINGUAL_OPT_PREFIX
public
mixed
DEVOWL_MULTILINGUAL_OPT_PREFIX
= 'devowl-multilingual'
DEVOWL_MULTILINGUAL_ROOT_SLUG
public
mixed
DEVOWL_MULTILINGUAL_ROOT_SLUG
= 'devowl-wp'
DEVOWL_MULTILINGUAL_SLUG
public
mixed
DEVOWL_MULTILINGUAL_SLUG
= 'multilingual'
DEVOWL_MULTILINGUAL_SLUG_CAMELCASE
public
mixed
DEVOWL_MULTILINGUAL_SLUG_CAMELCASE
= lcfirst(str_replace('-', '', ucwords(DEVOWL_MULTILINGUAL_SLUG, '-')))
DEVOWL_MULTILINGUAL_TD
public
mixed
DEVOWL_MULTILINGUAL_TD
= DEVOWL_MULTILINGUAL_ROOT_SLUG . '-' . DEVOWL_MULTILINGUAL_SLUG
DEVOWL_MULTILINGUAL_VERSION
public
mixed
DEVOWL_MULTILINGUAL_VERSION
= filemtime(__FILE__)
RCB_PRO_VERSION
public
mixed
RCB_PRO_VERSION
= $translatedUrl
RCB_TD
public
mixed
RCB_TD
= $this->getPluginData('TextDomain')
RCB_VERSION
public
mixed
RCB_VERSION
= $this->getPluginData('Version')
REAL_QUEUE_DB_PREFIX
public
mixed
REAL_QUEUE_DB_PREFIX
= 'real_queue'
REAL_QUEUE_OPT_PREFIX
public
mixed
REAL_QUEUE_OPT_PREFIX
= 'real-queue'
REAL_QUEUE_ROOT_SLUG
public
mixed
REAL_QUEUE_ROOT_SLUG
= 'devowl-wp'
REAL_QUEUE_SLUG
public
mixed
REAL_QUEUE_SLUG
= 'real-queue'
REAL_QUEUE_SLUG_CAMELCASE
public
mixed
REAL_QUEUE_SLUG_CAMELCASE
= lcfirst(str_replace('-', '', ucwords(REAL_QUEUE_SLUG, '-')))
REAL_QUEUE_TD
public
mixed
REAL_QUEUE_TD
= REAL_QUEUE_ROOT_SLUG . '-' . REAL_QUEUE_SLUG
REAL_QUEUE_VERSION
public
mixed
REAL_QUEUE_VERSION
= filemtime(__FILE__)
REAL_UTILS_ROOT_SLUG
public
mixed
REAL_UTILS_ROOT_SLUG
= 'devowl-wp'
REAL_UTILS_SLUG
public
mixed
REAL_UTILS_SLUG
= 'real-utils'
REAL_UTILS_SLUG_CAMELCASE
public
mixed
REAL_UTILS_SLUG_CAMELCASE
= lcfirst(str_replace('-', '', ucwords(REAL_UTILS_SLUG, '-')))
REAL_UTILS_TD
public
mixed
REAL_UTILS_TD
= REAL_UTILS_ROOT_SLUG . '-' . REAL_UTILS_SLUG
REAL_UTILS_VERSION
public
mixed
REAL_UTILS_VERSION
= filemtime(__FILE__)
RPM_WP_CLIENT_OPT_PREFIX
public
mixed
RPM_WP_CLIENT_OPT_PREFIX
= 'rpm-wpc'
RPM_WP_CLIENT_ROOT_SLUG
public
mixed
RPM_WP_CLIENT_ROOT_SLUG
= 'devowl-wp'
RPM_WP_CLIENT_SLUG
public
mixed
RPM_WP_CLIENT_SLUG
= 'real-product-manager-wp-client'
RPM_WP_CLIENT_SLUG_CAMELCASE
public
mixed
RPM_WP_CLIENT_SLUG_CAMELCASE
= lcfirst(str_replace('-', '', ucwords(RPM_WP_CLIENT_SLUG, '-')))
RPM_WP_CLIENT_TD
public
mixed
RPM_WP_CLIENT_TD
= RPM_WP_CLIENT_ROOT_SLUG . '-' . RPM_WP_CLIENT_SLUG
RPM_WP_CLIENT_VERSION
public
mixed
RPM_WP_CLIENT_VERSION
= filemtime(__FILE__)
Functions
wp_rcb_consent_given()
Check if a given technical information (e.g. HTTP Cookie, LocalStorage, ...) has a consent:
wp_rcb_consent_given(string|int $typeOrId[, string $name = null ][, string $host = null ]) : mixed
- When a technical information exists in defined cookies, the Promise is only resolved after given consent
- When no technical information exists, the Promise is immediate resolved
$consent = function_exists('wp_rcb_consent_given') ? wp_rcb_consent_given("http", "_twitter_sess", ".twitter.com") : true;
You can also check for consent by cookie ID (ID in wp_posts
, post id):
$consent = function_exists('wp_rcb_consent_given') ? wp_rcb_consent_given(15) : true;
Attention: Do not use this function if you can get the conditional consent into your frontend
coding and use instead the window.consentApi
!
Parameters
- $typeOrId : string|int
- $name : string = null
- $host : string = null
Tags
wp_rcb_invalidate_templates_cache()
Invalidate all template caches so they gets recalculated (this does not necessarily download from cloud API!).
wp_rcb_invalidate_templates_cache([bool $skipServiceCloudConsumerInvalidation = false ]) : mixed
Parameters
- $skipServiceCloudConsumerInvalidation : bool = false
Tags
wp_rcb_invalidate_presets_cache()
Invalidate all template caches so they gets recalculated.
wp_rcb_invalidate_presets_cache() : mixed
Tags
wp_rcb_service_groups()
Get a list of all existing service groups.
wp_rcb_service_groups() : mixed
Tags
wp_rcb_services_by_group()
Get a list of all existing services within a group.
wp_rcb_services_by_group(int $group_id[, string|array<string|int, string> $post_status = null ]) : mixed
Example: Get all available service groups and services
term_id) as $service) {
printf(
'Group: %s, Service: %s Service-ID: %d
',
$group->name,
$service->post_title,
$service->ID
);
}
}
}
Parameters
- $group_id : int
-
The
term_id
of the group - $post_status : string|array<string|int, string> = null
-
Pass
null
to read all existing
Tags
rcb_skip_already_admin_notice()
Show an admin notice to administrators when the plugin is already active.
rcb_skip_already_admin_notice() : mixed
rcb_skip_already_deactivate_lite()
Automatically deactivate lite version when we try to activate the PRO version.
rcb_skip_already_deactivate_lite() : mixed
rcb_skip_php_admin_notice()
Show an admin notice to administrators when the minimum PHP version could not be reached. The error message is only in english available.
rcb_skip_php_admin_notice() : mixed
rcb_skip_rest_admin_notice()
Show an admin notice to administrators when the minimum WP version could not be reached. The error message is only in english available.
rcb_skip_rest_admin_notice() : mixed
rcb_skip_wp_admin_notice()
Show an admin notice to administrators when the minimum WP version could not be reached. The error message is only in english available.
rcb_skip_wp_admin_notice() : mixed