WPDev.one
Core Function
View Source on Trac ↗

wp_installing()

wp_installing( mixed $is_installing = null )

Checks or sets whether WordPress is in "installation" mode.

Parameters 1 required

Name / Type Description
bool

$is_installing Optional. True to set WP into Installing mode, false to turn Installing mode off. Omit this parameter if you only want to fetch the current status.

Required

Return Value

(bool)
bool True if WP is installing, otherwise false. When a `$is_installing` is passed, the function will report whether WP was in installing mode prior to the change to `$is_installing`.

Function Information

Since Version
4.4.0
Source File
wp-includes/load.php
Advertisement