esc_url( ... )

Checks and cleans a URL.

Parameters:
  • $url string
  • $protocols string[]
  • $_context string