Get ACF value after update user using save_post

Question

How to get the value of ACF after clicking update user in User menu.
I have the following code but it’s not working:

function get_acf_value ($post_id) {
    $v = get_field('field_5b1d13fce338d', $post_id);
    echo $v;
}
add_action( 'acf/save_post', 'get_acf_value' );
0
Nikko Dela Cruz 2 months 0 Answers 17 views 0

Leave an answer