diff --git a/includes/admin/class-geodir-google-analytics-admin.php b/includes/admin/class-geodir-google-analytics-admin.php index e893b9e..8234dd4 100644 --- a/includes/admin/class-geodir-google-analytics-admin.php +++ b/includes/admin/class-geodir-google-analytics-admin.php @@ -25,7 +25,7 @@ public function __construct() { add_action( 'wp_ajax_geodir_ga_deauthorize', array( $this, 'deauthorize' ) ); add_action( 'wp_ajax_geodir_ga_callback', array( $this, 'callback' ) ); add_action( 'geodir_admin_field_google_analytics', array( $this, 'google_analytics_field' ), 10, 1 ); - add_action( 'geodir_get_settings_package', array( $this, 'pricing_package_settings' ), 10, 3 ); + add_action( 'geodir_pricing_package_settings', array( $this, 'pricing_package_settings' ), 10, 3 ); add_action( 'geodir_pricing_process_data_for_save', array( $this, 'pricing_process_data_for_save' ), 1, 3 ); } @@ -233,7 +233,7 @@ function geodir_ga_deauthorize(nonce) { $setting ) {