L Lakjin Active Member Jun 13, 2017 #1 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?
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?
twisted1919 Administrator Staff member Jun 13, 2017 #2 @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.
@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.
L Lakjin Active Member Jun 14, 2017 #3 twisted1919 said: @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. Click to expand... Thanks!
twisted1919 said: @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. Click to expand... Thanks!