Hi there,
This is the maintainer of the Lnk.Bio Wordpress plugin.
The function lnkbio_api_sync is only using the unset function on the local variable $post and it should not affect any code outside the function.
The $post variable is not passed via reference either, so it’s definitely only local to that function, otherwise it’d impact the post/excerpt everywhere in the WP code.
Any change we make to the $post is local to that function only, unless maybe Discourse code somehow uses global variables?
Do you have a sandbox Discourse installation for which you can share the API credentials so we can test the Discourse plugin locally and how it interacts with our code?
Thanks in advance