_wp_translate_php_url_constant_to_key

Advertisement

Private Access Private 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.

Summery Summery

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

Syntax Syntax

_wp_translate_php_url_constant_to_key( int $constant )

Parameters Parameters

$constant

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

Return Return

(string|false) The named key or false.

Source Source

File: wp-includes/http.php


			

Advertisement

Changelog Changelog

Changelog
Version Description
4.7.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.