allowed_http_origin

Advertisement

Summery Summery

Change the allowed HTTP origin result.

Syntax Syntax

apply_filters( 'allowed_http_origin', string $origin, string $origin_arg )

Parameters Parameters

$origin

(string) Origin URL if allowed, empty string if not.

$origin_arg

(string) Original origin string passed into is_allowed_http_origin function.

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.