Skip to content

Instantly share code, notes, and snippets.

@ahmedeshaan
Created October 23, 2017 11:19
Show Gist options
  • Save ahmedeshaan/3907288f916c8bbe0682e848a5167c3d to your computer and use it in GitHub Desktop.
Save ahmedeshaan/3907288f916c8bbe0682e848a5167c3d to your computer and use it in GitHub Desktop.
<?php
function remove_woocommerce_process_registration() {
remove_action('init', 'woocommerce_process_registration');
}
add_action('init','remove_woocommerce_process_registration');
add_action( 'init', 'my_process_registration' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment