Documentation

services.php

Table of Contents

Functions

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.

Functions

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
since
3.6.4

wp_rcb_invalidate_presets_cache()

Invalidate all template caches so they gets recalculated.

wp_rcb_invalidate_presets_cache() : mixed
Tags
since
2.14.1
deprecated

Use wp_rcb_invalidate_templates_cache instead

wp_rcb_service_groups()

Get a list of all existing service groups.

wp_rcb_service_groups() : mixed
Tags
since
2.3.0

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
since
2.3.0

        
On this page

Search results