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

Change the allowed HTTP origin result.


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.


Top ↑

Source Source

File: wp-includes/http.php

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
3.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.