mycred_scratch_card_templates

Description

This filter allows you to add, replace or remove templates for the Scratch Card add-on.

Available since version 1.0

Parameters

Param Type Required Description
$templates array Yes

An associative array of available templates. You can read more about this in the Scratch Card documentation.

Used By

Package Prio. Description
Not used by any built-in package.

Examples

Example 1: Add a custom template from a theme.

Example 2: Add a custom template from a plugin.