[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

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: 183 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).


ms_cookie_constants()   X-Ref
Defines Multisite cookie constants.


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).


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.




Generated : Thu Nov 21 08:20:01 2024 Cross-referenced by PHPXref