Uma área de pesquisa sobre o WordPress para devs e autores do tema



http_request_reject_unsafe_urls ›

Desde5.1.0
Obsoleton/a
apply_filters( 'http_request_reject_unsafe_urls', false, $url )
Parâmetros: (2)
  • (bool) $pass_url Whether to pass URLs through wp_http_validate_url(). Default false.
    Required: Yes
  • (string) $url The request URL.
    Required: Yes
Definido em:
Codex:

Filters whether to pass URLs through wp_http_validate_url() in an HTTP request.





Fonte

'reject_unsafe_urls'  => apply_filters( 'http_request_reject_unsafe_urls', false, $url ),