More parameters for hook

Lakjin

Active Member
For
Code:
$searchReplace = (array)Yii::app()->hooks->applyFilters('campaigns_get_common_tags_search_replace', $searchReplace);
in CampaignHelper.php, can we get more parameters such as subscriber and campaign information?
 
@Lakjin - do this:
PHP:
$searchReplace = (array)Yii::app()->hooks->applyFilters('campaigns_get_common_tags_search_replace', $searchReplace, $campaign, $subscriber, $server);
Is part of the app for next release, so is safe.
 
Back
Top