Skip to content

Commit

Permalink
Pass 2 parameters to hooked method
Browse files Browse the repository at this point in the history
  • Loading branch information
earnjam committed Apr 10, 2024
1 parent 04217ce commit a6068b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/Listeners/Commerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function register_hooks() {
add_filter( 'pre_update_option_nfd_ecommerce_captive_flow_stripe', array( $this, 'stripe_connection' ), 10, 2 );
// Paypal Connection
add_filter( 'pre_update_option_yith_ppwc_merchant_data_production', array( $this, 'paypal_connection' ), 10, 2 );
add_filter( 'update_option_ewc4wp_sso_account_status', array( $this, 'ecomdash_connected' ) );
add_filter( 'update_option_ewc4wp_sso_account_status', array( $this, 'ecomdash_connected' ), 10, 2 );
add_filter( 'woocommerce_update_product', array( $this, 'product_created_or_updated' ), 100, 2 );
add_action( 'update_option_woocommerce_custom_orders_table_enabled', array( $this, 'woocommerce_hpos_enabled' ), 10, 3 );
}
Expand Down

0 comments on commit a6068b2

Please sign in to comment.