// since 1.3.5.9
$record = Yii::app()->hooks->applyFilters('sending_domain_get_dns_txt_spf_record', $record, $this, $smtpHosts);
<?php
Yii::app()->hooks->addFilter('sending_domain_get_dns_txt_spf_record', function($record, $sendingDomain, $smtpHosts){
return 'YOUR SPF RECORD NAME HERE';
});
Yes, you can connect to all of them from init-custom.phpAll of them can be overide in the init-custom.php, right?