Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

rename filter to acm_default_url

  • Loading branch information...
commit b17a67ce0c5d6829a238831ce923637954d8250b 1 parent 41cc15f
Rinat Khaziev authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  ad-code-manager.php
View
2  ad-code-manager.php
@@ -589,7 +589,7 @@ function register_ad_codes( $ad_codes = array() ) {
foreach ( (array)$this->ad_tag_ids as $default_tag ) {
// May be we should add plugin setting for default url. For now just apply the filter which should return default url if $ad_code['url'] is empty
- $this->register_ad_code( $default_tag['tag'], apply_filters( 'acm_empty_url', $ad_code['url'] ), $ad_code['conditionals'], array_merge( $default_tag['url_vars'], $ad_code['url_vars'] ) );
+ $this->register_ad_code( $default_tag['tag'], apply_filters( 'acm_default_url', $ad_code['url'] ), $ad_code['conditionals'], array_merge( $default_tag['url_vars'], $ad_code['url_vars'] ) );
}
}
}

0 comments on commit b17a67c

Please sign in to comment.
Something went wrong with that request. Please try again.