Filter: RCB/Templates/DemoAllowed

apply_filters( 'RCB/Templates/DemoAllowed', $identifiers ) → {Array.<string>}

In a demo environment (MATTHIASWEB_DEMO), every template of the PRO tier is locked in the template center and in the scan result, like a template of the PRO version in the free version. Return the unique identifiers of the PRO templates that a licensed demo can create anyway. The identifiers are only used when a licence key is stored. List only templates whose content is stored in full, a listed template without content opens an empty form. Without a callback on this filter, and outside a demo environment, the filter is not applied and the template center stays unchanged.

Parameters:
Name Type Description
$identifiers Array.<string>

Unique identifiers of the templates, e.g. google-fonts

Since:
  • 5.5.0
Returns:
Type
Array.<string>