首页 WordPress函数大全 is_blog_installed()

is_blog_installed()

2020-05-02 / 5621阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

is_blog_installed()

Determines whether WordPress is already installed.

描述

The cache will be checked first. If you have a cache plugin, which saves the cache values, then this will work. If you use the default WordPress cache, and the database goes away, then you might have problems.

Checks for the ‘siteurl’ option for whether WordPress is installed.

For more information> Conditional Tags article in the Theme Developer Handbook.

Return Return

(bool) Whether the site is already installed.

大家谈论
    我的见解