if (!empty($ad_unit['sizes'])) {
                            foreach ($ad_unit['sizes'] as $i => $size) {
                                if (!isset($size['breakpoints'])) {
                                    continue;
                                }
                                // If this ad unit isn't used by the breakpoint, drop it
                                if (!in_array($breakpoint['title'], $size['breakpoints'])) {
                                    unset($ad_unit['sizes'][$i]);
                                } else {
                                    // Leave it alone, but drop the breakpoint info since the cache won't need it
                                    unset($ad_unit['sizes'][$i]['breakpoints']);
                                }
                            }
                            // If there are any ad unit sizes left, add to the breakpoint
                            if (!empty($ad_unit['sizes'])) {
                                $breakpoint['ad_units'][] = $ad_unit;
                            }
                        }
                    }
                }
            }
            // Store the cached data
            update_option($this->cache_key, $value['breakpoints']);
            // The action hook doesn't need a return value, but other usage of this plugin might
            if (true === $return) {
                return $value['breakpoints'];
            }
        }
    }
    Ad_Layers_DFP::instance();
}
 public function setUp()
 {
     parent::setUp();
     Ad_Layers_DFP::instance()->get_ad_units_for_layer($this->ad_layer);
 }