Rewrite process_registration function in WC 2.1
-
Is it possible to rewrite process_registration() function in WooCommerce 2.1?
Earlier I could just do
remove_action('init', 'woocommerce_process_registration')
and
add_action('init', 'my_woocommerce_process_registration')
.But now process_registration function is part of WC_Form_Handler class, and it is added to the actions in the new way
add_action('init', array( $this, 'process_registration'))
.So I don’t know how I can remove this action. Can somebody help me?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Rewrite process_registration function in WC 2.1’ is closed to new replies.