Support

Account

Home Forums General Issues Update_field not working on post update Reply To: Update_field not working on post update

  • Try using the native WP function update_post_meta instead, unless you’re sure ACF has loaded at the time you’re trying to use the function:

    update_post_meta( $postid, ‘ReleaseY’, $json->Year );
    Reference: https://developer.wordpress.org/reference/functions/update_post_meta/