Home › Forums › Front-end Issues › Front End and custom user meta › Reply To: Front End and custom user meta
Hi @RichB
If the fields show correctly, then all that needs to be done is to run the acf/save_post action during the save of the form.
You can do this by:
1. Find a hook that is run during the form save. This will not be an ACF action or filter, but specific to the form plugin or WP
2. Create a function and hook it into the above. In this function you need to run the acf/save_post action like this:
// $post_id to save against
$post_id = 'user_' . $user_id;
// update the post
do_action('acf/save_post', $post_id);
Note. The ACF plugin already hooks into the user_register action and runs a save function similar to above…
I would think that this would already do the work for you but perhaps it is not firing in your setup?
Thanks
E
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.