Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement