Support

Account

Home Forums Backend Issues (wp-admin) modify field look in admin area based on value Reply To: modify field look in admin area based on value

  • You could be causing an infinite loop by getting the value from the other post.

    Try using get_post_meta() instead of get_field()

    
    $orig = get_post_meta($post->ID, 'original_id', true);