• Yes I want to add action or filter for registration page. For example, with this action or filter I want to see username or password field values.. So I use some filters before registration

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    When a new user is created, it goes through a bunch of stuff and eventually ends up at wp_insert_user(). The SQL query that actually inserts the user gets a “create_user_query” filter applied to it. Hook that filter and you’ll get the query before it runs. It contains the new user’s name and password and such.

    Thread Starter dmry

    (@dmry)

    Thanks Otto42 ?? I can add actions where I want, now ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How can I add a action or filter for registration?’ is closed to new replies.