maybe_redirect_404()404页面NOBLOGREDIRECT设置(多站点)

目录

描述

Applies only for WordPress Multisite installation.

Correct 404 redirects when NOBLOGREDIRECT is defined.

maybe_redirect_404() 描述

用法

<?php maybe_redirect_404() ?>

maybe_redirect_404() 用法

参数

This function does not accept any parameters.

maybe_redirect_404() 参数

示例

maybe_redirect_404() 示例

注意

If registration is disabled, please set NOBLOGREDIRECT in wp-config.php to a URL you will redirect visitors to if they visit a non-existent site:

or

maybe_redirect_404() 注意

历史

添加于 版本: MU

maybe_redirect_404() 历史

源文件

maybe_redirect_404() 函数的代码位于 wp-includes/ms-functions.php

maybe_redirect_404() 源文件

相关