allowed_http_origins

Advertisement

Summery Summery

Change the origin types allowed for HTTP requests.

Syntax Syntax

apply_filters( 'allowed_http_origins', string[] $allowed_origins )

Parameters Parameters

$allowed_origins

(string[]) Array of default allowed HTTP origins.

  • (string) Non-secure URL for admin origin.
  • '1'
    (string) Secure URL for admin origin.
  • '2'
    (string) Non-secure URL for home origin.
  • '3'
    (string) Secure URL for home origin.

Source Source

File: wp-includes/http.php

Advertisement

Changelog Changelog

Changelog
Version Description
3.4.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.