[dev] How to override the default register function completely (2 posts)

  1. vadimg88
    Posted 7 years ago #

    [dev] How to override the default register function completely?

    For a plug in that is being written i would like to completely override wordpress default user register functions. All over the system. If a new member registers i would like him to be processed using my own custom written function.

    I have the following actions added:

    add_action('register_form', 'wpipb_registernew');
    add_action('register_post', 'wpipb_registerpost', 1, 2);
    add_action('wp_insert_user', 'wpipb_insert_user', 1, 2);

    But still, even tough i have added those actions it still parses the default WP functions. I would like to override them, Not add some parsing things to them.


  2. Mark Barnes
    Posted 6 years ago #

    You need to use remove_action as well.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.