Closed mlutfy closed 3 years ago
This kind of syntax requires CiviCRM 5.32 or later:
Civi::resources()->add( [ 'template' => 'Btcpaycontribution-thankyou-billing-block.tpl', 'region' => 'form-top', ] );
The old syntax was:
CRM_Core_Region::instance('form-top')->add([ 'template' => 'Btcpaycontribution-thankyou-billing-block.tpl', ]);
Considering that CiviCRM ESR is 5.33, and later versions of CiviCRM are unsupported, I think it's better to keep the code clean, and bump the minimum required version of CiviCRM.
This kind of syntax requires CiviCRM 5.32 or later:
The old syntax was:
Considering that CiviCRM ESR is 5.33, and later versions of CiviCRM are unsupported, I think it's better to keep the code clean, and bump the minimum required version of CiviCRM.