wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



http_request_host_is_external › Filtr WordPress Hooks

Od3.6.0
Przestarzałyn/a
› apply_filters( 'http_request_host_is_external', false, $host, $url )
Parametry: (3)
  • () external Whether HTTP request is external or not.
    Wymagane: Tak
  • () host Host name of the requested URL.
    Wymagane: Tak
  • () url Requested URL.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Checks if HTTP request is external or not.

Allows to change and allow external requests for the HTTP request.




Źródło

if ( ! apply_filters( 'http_request_host_is_external', false, $host, $url ) ) {