Does 1 Cor 14:37-38 apply to all churches everywhere or just to the Corinthian church? How do you know?

1 Corinthians 14:37-38 “If anyone thinks that he is a prophet or spiritual, let him recognize that the things which I write to you are the Lord’s commandment. But if anyone does not recognize this, he is not recognized.”