Last active
February 22, 2017 03:11
-
-
Save brandondove/c906fc398ae5dc7479c1035a6dbf788c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Adds new responsive ad unit sizes to the selectable options when creating an ad | |
*/ | |
function example_adsanity_ad_sizes( $sizes = array() ) { | |
$sizes['1x3'] = __( '1x3 - Responsive', 'example' ); | |
$sizes['2x3'] = __( '2x3 - Responsive', 'example' ); | |
return $sizes; | |
} | |
add_filter( 'adsanity_ad_sizes', 'example_adsanity_ad_sizes' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment