Hello,
I was trying to add custom parameters to using the following code in a php block:
$cb->params()->add(‘theme’, ‘string’, ‘darkness’)->validate();
but this seems to cause the script to error out when it is executed.
Is this the proper way to add custom parameters or is there another way to specify what parameters the code block accepts?