formV2->isTermsEnabled(); } public function process() { $this->fieldBlocks->insertAfter('givewp/payment-gateways', BlockFactory::termsAndConditions([ 'checkboxLabel' => $this->formV2->getTermsAgreementLabel(), 'agreementText' => $this->formV2->getTermsAgreementText(), ])); } }