apply_filters( 'allowed_http_origins', array $allowed_origins )

Change the origin types allowed for HTTP requests.


Parameters

$allowed_origins

Default allowed HTTP origins.

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


Source

File: wp-includes/http.php

View on GitHub



Changelog

Changelog
Version Description
WP-3.4.0 Introduced.