From e6759226773f04db8520c5fa18bf1e55c501ac35 Mon Sep 17 00:00:00 2001 From: Colin Mollenhour Date: Tue, 22 Oct 2024 23:44:45 -0400 Subject: [PATCH] Fix regression --- includes/class-shipstream-sync.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-shipstream-sync.php b/includes/class-shipstream-sync.php index 3910978..94348c1 100644 --- a/includes/class-shipstream-sync.php +++ b/includes/class-shipstream-sync.php @@ -15,7 +15,7 @@ public static function init() { // Add WooCommerce settings tab. add_filter('woocommerce_settings_tabs_array', array(__CLASS__, 'add_settings_tab'), 50); - add_action('woocommerce_settings_shipstream_sync', array(__CLASS__, 'settings_tab')); + add_action('woocommerce_settings_tabs_shipstream_sync', array(__CLASS__, 'settings_tab')); add_action('woocommerce_after_settings_shipstream_sync', array(__CLASS__, 'after_settings')); add_action('woocommerce_update_options_shipstream_sync', array(__CLASS__, 'update_settings'));