WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. vadimg88
    Member
    Posted 5 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.

    Thanks.

  2. Mark Barnes
    Member
    Posted 5 years ago #

    You need to use remove_action as well.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.