_wp_translate_php_url_constant_to_key

Private AccessPrivate Access

This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

SummerySummery

Translate a PHP_URL_* constant to the named array keys PHP uses.

Syntax

_wp_translate_php_url_constant_to_key( int $constant )

ParametersParameters

$constant

(int) (Required) PHP*URL** constant.

ReturnReturn

(string|false) The named key or false.

SourceSource

File: wp-includes/http.php


			

ChangelogChangelog

Changelog
Version Description
4.7.0 Introduced.
Scroll to Top