Filter hook 'allowed_http_origins'

in WP Core File wp-includes/http.php at line 471

Description

Changes the origin types allowed for HTTP requests. }

Occurrences

Filename Line Number
wp-includes/http.php 471

Parameters

Type Name Description
string[] $allowed_origins { Array of default allowed HTTP origins.

PHP Doc

/**
	 * Changes the origin types allowed for HTTP requests.
	 *
	 * @since 3.4.0
	 *
	 * @param string[] $allowed_origins {
	 *     Array of default allowed HTTP origins.
	 *
	 *     @type string $0 Non-secure URL for admin origin.
	 *     @type string $1 Secure URL for admin origin.
	 *     @type string $2 Non-secure URL for home origin.
	 *     @type string $3 Secure URL for home origin.
	 * }
	 */