Catholic priests or Bishops cannot mention any candidate by name. They can speak to issues, but not endorse or lack to endorse a candidate. Otherwise they lose their tax-free status. It’s true of all churches, though, not just the Catholic ones.
That doesn't seem to be the rule for black churches that often turn their pulpits over to Dem candidates.