It isn't just those groups that are being shut out. And they would be shut out by a requirement to not use funds for that purpose. But that declaration also shuts out groups that do anti-poverty work, immigrant support work, and support for prisoners.
Again, this is documented in some of the articles in the other thread.