ms_subdomain_constants()定义多站点的二级域名常量

目录

描述

Defines Multisite subdomain constants and handles warnings and notices.

ms_subdomain_constants() 描述

用法

<?php ms_subdomain_constants() ?>

ms_subdomain_constants() 用法

参数

This function does not accept any parameters

ms_subdomain_constants() 参数

示例

ms_subdomain_constants() 示例

注意

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

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

ms_subdomain_constants() 注意

历史

添加于 版本: 3.0.0

ms_subdomain_constants() 历史

源文件

ms_subdomain_constants() 函数的代码位于 wp-includes/ms-default-constants.php

ms_subdomain_constants() 源文件

相关