Tag Info

New answers tagged

0

There are actually two actions: One when the profile is updated and one when the user is registered. # Fires immediately after an existing user is updated. do_action( 'profile_update', $user_id, $old_user_data ); # Fires immediately after a new user is registered. do_action( 'user_register', $user_id ); So as long as the user login is not empty and the ...


7

DB Access layer & deleting rows WordPress uses the wpdb class to manage access to the database layer using the global $wpdb. The class provides a method named delete() to delete rows from tables: $wpdb->delete( $table, $where, $where_format = null ); Multisite tables & activation keys WordPress has some MU specific tables, where one is ...


4

If you want a quick solution for deleting a signup in the database for a specific user, this should do what you want: /** * Delete a row in the signups table for a given username. * * @param string $user_login Username. * @return bool Whether the signup row was successfully deleted. */ function delete_activation_key_by_user( $user_login ) { global ...


0

I have developed a plugin to handle Login, Registration and Retrieve Password using email only. Check out Smart WP Login.


0

You may try a very different approach which I just used recently. Try out the WordPress plugin Pie Register for that, it gives you an easy drag-and-drop interface for customising your registration form, adding custom fields of all sorts and the e-mails being sent and who is being activated. Hope this is what you need!



Top 50 recent answers are included