Adding custom parameters to code blocks Home › Support › Support Tickets › Adding custom parameters to code blocks This topic has 0 replies, 1 voice, and was last updated 2 years ago by support-computerim.com. Viewing 0 reply threads Author Posts April 9, 2022 at 12:22 AM #15258 support-computerim.comParticipant 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? Author Posts Viewing 0 reply threads You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In