Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function my_update_user( $user_id ) {
- $field = sanitize_text_field( $_GET['custom_parameter'] );
- update_user_meta( $user_id, 'custom_parameter', $field );
- }
- add_action( 'wpf_api_success', 'my_update_user' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement