Skip to content

Commit 20f00c7

Browse files
committed
fix: remove unnecessary plugin check
1 parent d091928 commit 20f00c7

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

includes/class-modal-checkout.php

+8-9
Original file line numberDiff line numberDiff line change
@@ -947,15 +947,14 @@ public static function remove_hooks() {
947947
]
948948
);
949949
}
950-
if ( is_plugin_active( 'onesignal-free-web-push-notifications/onesignal.php' ) ) {
951-
array_push(
952-
$remove_list,
953-
[
954-
'hook' => 'wp_head',
955-
'callback' => 'onesignal_init',
956-
]
957-
);
958-
}
950+
// OneSignal.
951+
array_push(
952+
$remove_list,
953+
[
954+
'hook' => 'wp_head',
955+
'callback' => 'onesignal_init',
956+
]
957+
);
959958

960959
/**
961960
* Filters the hooks to remove from the modal checkout.

0 commit comments

Comments
 (0)