WordPress at a glance
filter is not described

allowed_http_origins filter-hook . WP 3.4.0

Change the origin types allowed for HTTP requests.

Usage

add_filter( 'allowed_http_origins', 'filter_function_name_5775' );
function filter_function_name_5775( $allowed_origins ){
	// filter...

	return $allowed_origins;
}
$allowed_origins(array)

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.

Where the hook is called

get_allowed_http_origins()
allowed_http_origins
wp-includes/http.php 449
return apply_filters( 'allowed_http_origins', $allowed_origins );

Where the hook is used (in WP core)

Использование не найдено.