wpseek.com
A WordPress-centric search engine for devs and theme authors
wp_pre_insert_user_data › WordPress Filter Hooks
Since5.8.0
Deprecatedn/a
› apply_filters( 'wp_pre_insert_user_data', $data, $update, ( $update ? $user_id : null )
Parameters: (4) |
|
Defined at: |
|
Codex: |
Filters user data before the record is created or updated.
It only includes data in the users table, not any user metadata.
Related Functions: wp_insert_user, wp_reset_postdata, wp_print_script_tag, wp_after_insert_post, wp_insert_site, wp_insert_term
Related Hooks: wp_insert_term_data, rest_pre_insert_user, rest_insert_user, insert_user_meta, pre_insert_term