[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-includes/ -> ms-default-constants.php (summary)

Defines constants and global variables that can be overridden, generally in wp-config.php.

File Size: 170 lines (5 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 4 functions

  ms_upload_constants()
  ms_cookie_constants()
  ms_file_constants()
  ms_subdomain_constants()

Functions
Functions that are not part of a class:

ms_upload_constants()   X-Ref
Defines Multisite upload constants.

Exists for backward compatibility with legacy file-serving through
wp-includes/ms-files.php (wp-content/blogs.php in MU).

since: 3.0.0

ms_cookie_constants()   X-Ref
Defines Multisite cookie constants.

since: 3.0.0

ms_file_constants()   X-Ref
Defines Multisite file constants.

Exists for backward compatibility with legacy file-serving through
wp-includes/ms-files.php (wp-content/blogs.php in MU).

since: 3.0.0

ms_subdomain_constants()   X-Ref
Defines Multisite subdomain constants and handles warnings and notices.

VHOST is deprecated in favor of SUBDOMAIN_INSTALL, which is a bool.

On first call, the constants are checked and defined. On second call,
we will have translations loaded and can trigger warnings easily.

since: 3.0.0



Generated: Fri Apr 19 01:00:02 2024 Cross-referenced by PHPXref 0.7.1