$transition ) ); } } public static function block_css( $attr, $id ) { $buckets = array( 'desktop' => static::get_selectors( $attr ), 'tablet' => static::get_tabletselectors( $attr ), 'mobile' => static::get_mobileselectors( $attr ), ); static::apply_promoted_selectors( $buckets, $attr ); static::apply_hover_selectors( $buckets, $attr ); $prefix = static::css_id_prefix(); return array( 'desktop' => AffiliateX_Helpers::generate_css( $buckets['desktop'], $prefix . $id ), 'tablet' => AffiliateX_Helpers::generate_css( $buckets['tablet'], $prefix . $id ), 'mobile' => AffiliateX_Helpers::generate_css( $buckets['mobile'], $prefix . $id ), ); } }