Before receiving payment the post has “Awaiting approval” status as I chose in settings. But when this user, who didn't already pay for post, wants to edit the post, after editing the post is published. We wanted to have published post after editing because of users who already paid for posting, but this option also relates to these who didn't pay yet.
So I would like to add code which displays “edit link” only if post is already paid. Can you help me with this? (We don't have a lot of users yet so it's not a big deal FOR NOW, but I already had to change the post status manually a few times because of it, later with much more users it could be big problem for us.)