wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



http_request_host_is_external › Les Filtres WordPress

Depuis3.6.0
Dépréciéen/a
› apply_filters( 'http_request_host_is_external', false, $host, $url )
Paramètres: (3)
  • () external Whether HTTP request is external or not.
    Requis: Oui
  • () host Host name of the requested URL.
    Requis: Oui
  • () url Requested URL.
    Requis: Oui
Défini(e) dans:
Codex:

Checks if HTTP request is external or not.

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




Source

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