Skip to content
This repository has been archived by the owner on Jun 7, 2022. It is now read-only.

Commit

Permalink
Add woocommerce.com data source poller
Browse files Browse the repository at this point in the history
  • Loading branch information
louwie17 committed Aug 27, 2021
1 parent 9a1f054 commit 3ae25c5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Features/WcPayPromotion/Init.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ public static function set_gateway_top_of_list( $ordering ) {
public static function get_wc_pay_promotion_spec() {
$promotions = self::get_promotions();
$index = array_search( 'woocommerce-payments', array_column( $promotions, 'product' ), true );

if ( false !== $index ) {
return $promotions[ $index ];
}
Expand Down

0 comments on commit 3ae25c5

Please sign in to comment.