How to enable Creator Fee Enforcement on OpenSea?

(I’m sorry to ask here, because no one responded in the OpenSea channel)

I want to enable Creator Fee Enforcement for my NFT on OpenSea. Here is the relevant information I have obtained:

However, I don’t quite understand the part about code implementation mentioned in the document:

In addition to implementing the above ICreatorToken interface, the NFT contract should also implement one of the following transfer validation functions in their _beforeTokenTransfer hook, with the call being performed to the assigned transfer validator (if one is set) and with getTransferValidationFunction() returning the corresponding function selector:

Has anyone implemented this? I would be very grateful if you could provide more implementation descriptions or code examples. :folded_hands: